2013-04-15 08:31 AM
STM32F40G-Eval
Hi, Am having this error, &sharperror ''Please select first the Evaluation board used in your application (in Project Options)'' i commented /* &sharpdefine STM32F427X */ in STM32F44XX.h but i still have this error , how can i fix it. Thanks #understand-your-tools2013-04-15 06:05 PM
Yeah, I'm just working with the cards as dealt, I'm just glad I don't have to support projects concurrently in 4-6 different tool chains.
2013-04-16 01:22 AM
2013-04-16 01:28 AM
2013-04-16 01:46 AM
Because you probably omitted to add the path to the respective includes to the include search path in the project settings. Eclipse has a nice GUI for that.
2013-04-16 01:57 AM
i went to settings -> arm sourcey linux GCC C compiler ->Directories
and i added this librairies: ''${workspace_loc:/${ProjName}/librarie/CMSIS/Include}'' ''${workspace_loc:/${ProjName}/librarie/STM3240_41_G_EVAL}'' ''${workspace_loc:/${ProjName}/librarie/Common}'' ''${workspace_loc:/${ProjName}/librarie/Device/ST/STM32F4xx/Include}'' ''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/inc}'' ''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/src}'' ''${workspace_loc:/${ProjName}/src}'' Isn't like that please?2013-04-16 02:10 AM
In theory, yes.
The following paths are the locations where the std. peripheral drivers (and headers) reside. ... /STM32F4xx_StdPeriph_Driver/inc .../STM32F4xx_StdPeriph_Driver/src''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/inc}''
''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/src}''
That looks a little suspicious. Is the path name really ''librarie'' ? And finally, Eclipse generates a full build output, always to a build log file, and to an output console if one is open. Check this output, if the expanded macros and path definitions match your actual path. And if you use Linux, be aware that Linux path/file name are case-sensitive.
2013-04-16 02:17 AM
2013-04-16 02:28 AM
I verified the subdir.mk file of debug and the path match my actual paths
2013-04-16 02:53 AM
It is always telling me that the GPIO and RCC could not be resolved, it is workin only when i add in main.c those two includes
# include ''stm32f4xx_gpio.h'' # include ''stm32f4xx_rcc.h'' What is wrong ?2013-04-16 05:46 AM