2013-04-10 05:51 AM
Hi,
Am programming an STM32F4 Discovery on eclipse , i staeted with the IO_Toggle example but i got this errors : Symbol 'GPIO_Pin_15' could not be resolved Symbol 'RCC_AHB1Periph_GPIOD' could not be resolved Description Resource Path Location Type make: *** [startup_src/startup_stm32f4xx.o] Erreur 1 led_v0 C/C++ Problem Can someone help me. Regards, Dorra Can someone tell me how to resolve this problem #no-such-things-as-a-free-lunch2013-04-11 05:23 AM
I Set C Compiler’s directories
''${workspace_loc:/${ProjName}/startup_src}'' ''${workspace_loc:/${ProjName}/librarie/Common}'' ''${workspace_loc:/${ProjName}/librarie/Device/ST/STM32F4xx/Include}'' ''${workspace_loc:/${ProjName}/librarie/STM3240_41_G_EVAL}'' ''${workspace_loc:/${ProjName}/src}'' ''${workspace_loc:/${ProjName}/librarie/CMSIS/Include}'' ''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/inc}'' ''${workspace_loc:/${ProjName}/librarie/STM32F4xx_StdPeriph_Driver/src}'' than i setC Compiler Preprocessor
USE_STDPERIPH_DRIVER USE_STM32F4_DISCOVERY STM32F40XX i point to “stm32_flash.ld�?: home/user/Bureau/STM324 EVAL/from forum/STM32F4xx_DSP_StdPeriph_Lib_V1.1.0/Project/STM32F4xx_StdPeriph_Templates/TrueSTUDIO/STM324xG_EVAL/stm32_flash.ld and finally i created a PATH variables and set it’s value to my CodeSourcery’s bin folder but when i run the project i had this error make: *** [src/startup_stm32f40xx.o] Erreur 12013-04-11 06:00 AM
Seems you are trying to use CodeSourcery Lite with the Atollic startup file and linker script.
This may work, as long as you use no libraries (or Atollic versions, too). I never tried this combination. The whole build output might be helpful here (everything that appears after typing ''make''). That would also expand all those ${path} macros.2013-04-11 06:07 AM
2013-04-11 06:25 AM
sorry but i couldn't figure out what do you mean exactly, what couls be the problem
Me too. So I think it is helpful to post all the output that the
make
command (or whatever) produces. That should be pretty much more than the error lines you posted yet.2013-04-11 07:10 AM
2013-04-11 07:24 AM
There is a build logfile somewhere. If you are using Linux, be aware that it's probably hidden (starts with a dot, as ''.hidden_name'', for example).
And, if I remember correctly, there is a possibility to have that output in one of the configurable screens. BTW, this is one of the reasons why I don't like Eclipse ...2013-04-11 07:29 AM
can i use this kind of project with another environnement instead of eclipse?
2013-04-11 07:43 AM
can i use this kind of project with another environnement instead of eclipse?
That's more of a vague question. But yes, you can. There are trail version of most commercial IDE's, which are quite convenient to make first steps with ARM Cortex. Dealing with toolchain issues tends to be demotivating for beginners. If you like Eclipse, you can try Atollic Truestudio. It is Eclipse-based, and uses a gcc compiler. Keil and IAR have their own IDEs and compiler. I have never tried Tasking. For all the mentioned toolchains, you find ready-made projects in the Firmware packages provided by ST. Just open the appropriate project file for one of the example projects from the IDE, and that's it (usually).
2013-04-11 08:37 AM
If you like Eclipse and want support, there are paid-for options with CodeSourcery.
CodeRed also uses Eclipse, and the paid-for version supports STM32, IIRC.