OpenSK uses tockloader to deploy the kernel and apps, and currently passes flags that cause tockloader to invoke JLinkExe. We should allow users to use OpenOCD instead of JLinkExe, by making the flags passed to tockloader configurable/changable.
Additionally, because distributions often have an outdated version of OpenOCD that cannot deploy to a nrf52840-DK, OpenSK should allow users to use a custom version of OpenOCD. I've already opened tock/tockloader/pull/52 to enable tockloader to invoke a custom version of OpenOCD.
The tockloader PR (tock/tockloader#52) has been merged. I opened the following issue to get support for OpenOCD arguments added to tock: https://github.com/tock/tock/issues/1626
OpenSK uses
tockloader
to deploy the kernel and apps, and currently passes flags that causetockloader
to invokeJLinkExe
. We should allow users to use OpenOCD instead ofJLinkExe
, by making the flags passed totockloader
configurable/changable.Additionally, because distributions often have an outdated version of OpenOCD that cannot deploy to a nrf52840-DK, OpenSK should allow users to use a custom version of OpenOCD. I've already opened tock/tockloader/pull/52 to enable
tockloader
to invoke a custom version of OpenOCD.