Linker file syntax error

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

Linker file syntax error

901 Views
jictannu
Contributor III

I am using MCUXpresso IDE. I had import frdmkw36_wireless_examples_bluetooth_hrs_freertos, there is a syntax error in frdmkw36_wireless_examples_bluetooth_hrs_freertos_Debug.ld:

企业微信截图_15855503679110.png

Another problem. In line 136 "FILL(0xFFFFFFFF);" there is a ';', but in other codes:

pastedImage_2.png

In line 54, "FILL(0xff)" there is no ';'. Why they are different?

0 Kudos
2 Replies

721 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Since the project is built successfully, the problem comes from the linker script editor awareness - it doesn't seem to be able to cope with the use case described here. We'll look into this. Thanks for the report.

Greetings,
MCUXpresso IDE Support

0 Kudos

721 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Mo, I hope you're doing well!

 

The Linker Scripts used by the connectivity stacks (for example, BLE) use a custom syntax, and are automatically managed by MCUXpresso.

Because of the custom syntax, MCUXpresso seems to detect some errors in the file, but they do not cause issues during compilation, and the build should complete successfully.

 

Please let me know if you need any more information.

 

Best regards,

Sebastian