Linker file syntax error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linker file syntax error

1,115 次查看
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 项奖励
回复
2 回复数

935 次查看
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 项奖励
回复

935 次查看
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