2010-06-10 05:35 AM
STM3210E Demo/Example Code - where is the linkerscript file?
2011-05-17 04:54 AM
There are linker scripts for RIDE, RVMDK, and EWARMv5. Unfortunately, there is no support for stock gcc/ld.
I'm using lanchon's script and startup code that he posted to this forum:https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/STM32 CC%2B%2B build environment using CodeSourcery Sourcery G%2B%2B¤tviews=18701
; these work with the CodeSourcery G++ lite edition (which is gcc with some of their library enhancements). You can see the default linker script by asking ld: arm-none-eabi-ld --verbose > default_script.ld2011-05-17 04:54 AM
Check here:
http://code.google.com/p/vsprog/source/browse/trunk/dongle/firmware/Projects/Versaloon/GCC
. It can be a example as makefile(with library support) and linkfile for CodeSourceryG++Lite.2011-05-17 04:54 AM
hi hoto!
STM3210E-EVAL demo example uses default Script file.
in project properties > LD Linker > Scripts > Use default Script file = YES
examples given in
STM32F10x_StdPeriph_Lib_V3.3.0 can be compiled using template project in the same directory of \STM32Lib-v312\Project\Template\RIDE\Project.rprj
hope this helps