Skip to main content
Franksterb92
Senior
January 31, 2023
Question

im trying to play with the stdPeriph_lib examples and i keep getting a ton of errors about unknown type name 'FunctionalState' im just wondering what file is this data type defined what #include am i missing

STM32F4xx_StdPeriph_Lib_V1.9.0

This topic has been closed for replies.

2 replies

ST Technical Moderator
January 31, 2023

Hello @Franksterb92​,

The problem here seems to be related to the configuration of your project.

Make sure to include the top level include file, and it needs to fetch the others.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Franksterb92
Senior
February 1, 2023

i have the #include "stm32f411xe.h" and it just gives me a ton of errors for the functionalState data type undefined i normally use my own drivers so its not a big deal there gotta be some .h file im missing tho but thanks for the response do you know where that datatype is defined cause honestly i didnt even know you could make custom datatypes im learning more and more about c as i go lol