AnsweredAssumed Answered

MCU Linker error

Question asked by Jonathan Smith on Apr 10, 2019
Latest reply on Apr 11, 2019 by Jonathan Smith

When running MCU Linker in MCUxpresso I get the following error:
arm-none-eabi-gcc.exe: error: false: No such file or directory
/bin/sh: Default: command not found
make: *** [GFM_m0.axf] Error 127

 

This seems to be becuase the arm-none-eabi-gcc command has the following options specified: arm-none-eabi-gcc -nostdlib -L"C:\GL4K_refresh\LPC4333\lpc_chip_43xx_m0\Debug" -Xlinker -Map="GFM_m0.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m0 -mthumb -T "GFM_m0_Debug.ld" false; Default -o "GFM_m0.axf"  

 

A similar project doesn't have the false; Default flag specified and it compiles okay.

 

Can anyone help me with how to remove these options from the link script? I can't work out where they are set.

 

Many thanks

Outcomes