Why jlinkscript appears as source in CMakeLists.txt

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

Why jlinkscript appears as source in CMakeLists.txt

Jump to solution
1,411 Views
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 Kudos
Reply
1 Solution
1,400 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
1,401 Views
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 Kudos
Reply