Why jlinkscript appears as source in CMakeLists.txt

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

Why jlinkscript appears as source in CMakeLists.txt

跳至解决方案
1,410 次查看
yfliu
Contributor IV

Dear support,

I am trying RT1170-EVK device with SDK 2.11.1 for Linux. My host is Ubuntu and toolchain is ARMGCC, the on-board debug probe is using JLink firmware. I can debug .elf programs using gdb and JLinkGDBServer.

When checking the CMakeLists.txt of demo_apps/hello_world, I noticed that there are following lines:

add_executable(${MCUX_SDK_PROJECT_NAME} 
"${ProjDirPath}/../evkmimxrt1170_connect_cm4_cm7side.jlinkscript"

I am wondering why .jlinkscript file is treated as project source? as my undertstanding such files are for host side JLink tools to use.

Regards,

Yanfeng

 

 

 

 

0 项奖励
回复
1 解答
1,399 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Actually, I also don't know why, in my opinion, it's not necessary to add the jlinkscript in the CMakeLists.txt.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,400 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Actually, I also don't know why, in my opinion, it's not necessary to add the jlinkscript in the CMakeLists.txt.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复