2013-01-23 09:06 AM
Hello everybody
I use a STM32F100 micro with Atollic. I have created a new project and imported some files I needed. The problem is that, when I compile, I get the following error:\Debug/..\firmware\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO/startup_stm32f10x_hd_vl.s:103: undefined reference to `_sidata'
I have the same problem for _ebss, sdata, sbss...
In my linker file, I have this :/* used by the startup to initialize data */
_sidata = .; /* Initialized data sections goes into RAM, load LMA copy after code */ .data : AT ( _sidata ) { . = ALIGN(4); _sdata = .; /* create a global symbol at data start */ *(.data) /* .data sections */ *(.data*) /* .data* sections */. = ALIGN(4);
_edata = .; /* define a global symbol at data end */ } >RAM Does someone have the solution for that? Thanks2013-01-25 07:27 AM
Hello
It's just an ''Up'' for my topic, I still dont have the solution Thanks for any help!2013-01-25 07:55 AM
Try cloning a working project for the VL-Discovery board. If you do have one that works, you need to understand the files, includes, define, and other meta-data settings that differ from your project settings.
Check if your F100 is in fact a HD device. I'm not an Atollic fan, I prefer Yagarto's GNU/GCC and MAKE I would hazard that the issue is that it's not using the linker script you think it is.2013-01-28 02:23 AM