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.
Thanks
Marco
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
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.
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.