MCUXpresso failing to flash with syntax errors in linker scripts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCUXpresso failing to flash with syntax errors in linker scripts

952件の閲覧回数
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 件の賞賛
返信
1 返信

949件の閲覧回数
ErichStyger
Specialist I

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 件の賞賛
返信