MCUXpresso failing to flash with syntax errors in linker scripts

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

MCUXpresso failing to flash with syntax errors in linker scripts

401 Views
Alexander_S
Contributor II

Hi,

I'm using MCUXpresso v11.2.1 Build 4149 to develop software for the MKL17Z128. The project contains linker scripts for several development environments, and while debugging works just fine, pushing the JLink download short-cut in the Quickstart Panel fails. The IDE detects a lot of errors in the linker scripts, so this problem seems to be related to the problem discussed here: https://community.nxp.com/t5/MCUXpresso-IDE/How-can-we-disable-the-syntax-checking-of-linker-files/m...

While disabling auto-build and removing the errors in the problems panel does solve the problem, I'd consider this rather a work-around than a fix. Is it true, that the problem is caused by the syntax-checking of the linker scripts and if so, what can be done about it?

Kind regards, take care,

Alexander

0 Kudos
1 Reply

398 Views
ErichStyger
Senior Contributor V

The 'syntax checking' errors should not affect the debugger.

Can you share your linker file(s) here so the engineering team who monitors this forum can have a look and fix things if needed?

 

To disable the syntax checking, I'm using the following:

Change the editor to be used with Open with:

ErichS_3-1605693011261.png

 

This will use the normal text editor for it.

Other *.ld files are not affected.

To change it globally, go to workspace preferences and change the default for all *.ld files:

ErichS_2-1605693000859.png

 

 

I hope this helps,

Erich

 
 

 

0 Kudos