You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configures the debug_tool = jlink debugging method to hardcode SWD as the debugging protocol. There is no way to specify jtag here instead of swd normally, a user would have to specify a custom debug_server and friends command (which was e.g. done in this community post).
Interestingly, for uploading, such option is respected
The code at
platform-teensy/platform.py
Lines 74 to 83 in 586031e
Configures the
debug_tool = jlink
debugging method to hardcode SWD as the debugging protocol. There is no way to specifyjtag
here instead ofswd
normally, a user would have to specify a customdebug_server
and friends command (which was e.g. done in this community post).Interestingly, for uploading, such option is respected
platform-teensy/builder/main.py
Lines 189 to 195 in 586031e
And it then does a
-if jtag
.Can the code be adapted so that if a user e.g. writes
debug_tool = jlink-jtag
, that change is also carried over?The documentation at https://docs.platformio.org/en/latest/plus/debug-tools/jlink.html should be adapted accordingly then.
The text was updated successfully, but these errors were encountered: