MCU Linker error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCU Linker error

Jump to solution
1,655 Views
jonathansmith
Contributor III

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

0 Kudos
1 Solution
1,483 Views
jonathansmith
Contributor III

Solved it by updating to the latest version of MCUxpresso.

View solution in original post

0 Kudos
1 Reply
1,484 Views
jonathansmith
Contributor III

Solved it by updating to the latest version of MCUxpresso.

0 Kudos