cancel
Showing results for 
Search instead for 
Did you mean: 

STM3210E Demo/Example Code - where is the linkerscript file?

tobias23
Associate II
Posted on June 10, 2010 at 14:35

STM3210E Demo/Example Code - where is the linkerscript file?

3 REPLIES 3
ned
Associate
Posted on May 17, 2011 at 13:54

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&currentviews=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.ld

simonqian2
Associate II
Posted on May 17, 2011 at 13:54

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.

kashif
Associate II
Posted on May 17, 2011 at 13:54

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