cancel
Showing results for 
Search instead for 
Did you mean: 

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

Franksterb92
Associate III

STM32F4xx_StdPeriph_Lib_V1.9.0

2 REPLIES 2
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Franksterb92
Associate III

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