Skip to main content
tobias23
Associate II
June 10, 2010
Question

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

  • June 10, 2010
  • 3 replies
  • 845 views
Posted on June 10, 2010 at 14:35

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

    This topic has been closed for replies.

    3 replies

    simonqian2
    Visitor II
    May 17, 2011
    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.

    ned
    Associate
    May 17, 2011
    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

    kashif
    Associate II
    May 17, 2011
    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