Hi,
I'm trying to set a relative path to the JLink script for my project. The JLink script is in the same folder as the .launch files. Here is the sequence:
- Double left-click on the .launch file from the Project Explorer window in MCUXpresso.
- Select JLink Debugger tab.
- Scroll down to Additional options.
- Fill the Script field with the path
- Continue and save etc.
So if I enter an absolute path to the JLink script, it all works fine and I can debug my code.
If I try any of the following, then it fails to work (and I get 0xdeadbeee in the callstack).
- ${ProjDirPath}/Default.JLinkScript
- Default.JLinkScript
- ./Default.JLinkScript
- ../Default.JLinkScript
- ../../Default.JLinkScript
I've tried the above with forward and backward slashes.
Is there a way of using relative paths in this field, ideally with ${ProjDirPath} please?
What is the default folder for this field?
What is interesting is that the 'Settings file' field does use ${ProjDirPath} so I am assuming it should work in the Script field.
Info:
Kind regards.