MCU Linker error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MCU Linker error

跳至解决方案
1,692 次查看
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 项奖励
1 解答
1,520 次查看
jonathansmith
Contributor III

Solved it by updating to the latest version of MCUxpresso.

在原帖中查看解决方案

0 项奖励
1 回复
1,521 次查看
jonathansmith
Contributor III

Solved it by updating to the latest version of MCUxpresso.

0 项奖励