MCUxpresso GNU Linker Script Problem and GUI Flash Tool faild

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

MCUxpresso GNU Linker Script Problem and GUI Flash Tool faild

264 Views
marco76
Contributor III

Hi,
I noticed two related issues on MCUxpresso:
A) If there are linker scripts (LD files) in subfolders of a project, they are parsed even if the folders are excluded from compilation (IDE's "Exclude from Build..." feature). This generates IDE errors even if there are no compilation and linker errors. In the errors tab you can read "GNU Linker Script Problem" for each LD file present.
B) If the IDE reports an error, the GUI Flash Tool functions are rejected with a message box that says: "Operation not completed!". But in reality nothing happens, it doesn't even try!

If I delete the folders containing the LD files or the individual LD ​​files, everything works fine.

I attach an image where you can see the error report on the folders excluded from build, the errors tab and the GUI Flash Tool message box.

MCUxpress faild sequence.jpg

Thanks
Marco

0 Kudos
Reply
2 Replies

122 Views
AdrianOltean
NXP Employee
NXP Employee

The errors related to the linker scripts might be just false positives. Note that MCUXpresso IDE offers an editor awareness feature for map/linker script files but the grammars for these might be incomplete. See "Enhanced syntax highlighting" from the User Guide for details. It's also stated how to disable this.

Best regards,

Adrian

0 Kudos
Reply

169 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @marco76 

I am sorry for the delayed response. 

I tried to  replicate the ld compile on my side, simplest test I have done was to create a new subfolder to my project and paste another ld. Build on this simple test was successfull. Could you give me steps to reproduce the issue on my side? I am using MCUXpresso IDE v24.12.

diego_charles_0-1750456489282.png

Regarding the second issue, I agree with you. However, if you open the GUI flash tool from this link you should still be able to flash a program. 

diego_charles_1-1750456849058.png

 

0 Kudos
Reply