Skip to main content
Tesla DeLorean
Guru
September 16, 2013
Question

STM32F429I-DISCO Coming Soon

  • September 16, 2013
  • 27 replies
  • 2879 views
    This topic has been closed for replies.

    27 replies

    jo_it
    Associate III
    December 21, 2014
    Posted on December 21, 2014 at 15:02

    I know this is an old post. I'm trying to build this SDRAM example code with gcc arm embedded toolchain. The none-eabi linker is give me an error that .ARM.exidx overlaps .DATA section. I can't find .ARM.exidx section in stm32f429i.ld?

    It build some .bin and .hex but no .elf

    I still did not try to run the binaries. I hope someone can still reply on this post.

    Tesla DeLorean
    Guru
    December 21, 2014
    Posted on December 21, 2014 at 16:46

    And you're doing this with what version of the GNU/GCC tools, on what platform?

    I provided a MAKEFILE which works fine with GNU/GCC 4.7.2 under Yagarto
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    jo_it
    Associate III
    December 21, 2014
    Posted on December 21, 2014 at 17:32

    I'm cross-compiling on a Win8 machine. I'm building the executable with make under cygwin env.

    The toolchain is gcc-arm-embedded and the compiler version is 4.9.3.

    Tesla DeLorean
    Guru
    December 21, 2014
    Posted on December 21, 2014 at 20:12

    Suggest you review the linker scripts (.LD) they use, and adapt those to reflect the memory map described in mine.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    jo_it
    Associate III
    December 21, 2014
    Posted on December 21, 2014 at 21:15

    I don't know if I'm in the right corner here to ask. If I use libc I get the linker error. Is libc compatible with stm32f429i.ld?

    jo_it
    Associate III
    December 21, 2014
    Posted on December 22, 2014 at 00:01

    gcc-arm-embedded includes the red hat newlib libc 2.1.0

    I try to figure out with the libc manual.

    jo_it
    Associate III
    December 23, 2014
    Posted on December 23, 2014 at 12:07

    The least resisant path was indeed to use the supplied ld script from gcc-arm-embedded toolchain and morph it to the map of stm32f429i.ld

    In fact libgcc use the .ARM.exidx section.The stdio functionality.

    I conclude the newlib lib in YAGARTO is different build then the gcc-arm-embedded newlib.