cancel
Showing results for 
Search instead for 
Did you mean: 

Linker problems

berge472
Associate II
Posted on February 26, 2013 at 17:21

I am having issues with getting the Linker script to run. 

/../arm-none-eabi/bin/ld.exe: cannot open linker script file /C:/Users/Jason.Development-PC/Dropbox/Eclipse/TS_001/stm32_flash.ld: Invalid argument

here is where it is called from makefile.targets:

TS_001.elf: $(USER_OBJS)

arm-none-eabi-g++ -T''/C:/Users/Jason.Development-PC/Dropbox/Eclipse/TS_001/stm32_flash.ld'' -Wl,-Map,TS_001.map -mcpu=cortex-m4 -mthumb -g -gdwarf-2 -o ''USER_OBJS'' $(OBJS) $(USER_OBJS) $(LIBS)

Does anything jump out as wrong in the arguments?
1 REPLY 1
Posted on February 26, 2013 at 19:23

Says it can't find the file, I'd start with the path syntax, put the linker script in a root directory or something.

Look at the directories, the preceding slash, does it need forward or back slashes?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..