9f57d11d9b
Adds support for the 'flash' command to the jlink runner so we can flash via 'make flash'. This works by generating a temporary jlink commander script file and passing the script to the jlink commander executable. Previously, the only way to flash with jlink was via 'make debug'. Includes support for DT based flash address, and an optional mass erase before loading the flash. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
4 lines
123 B
CMake
4 lines
123 B
CMake
set_ifndef(BOARD_FLASH_RUNNER jlink)
|
|
set_ifndef(BOARD_DEBUG_RUNNER jlink)
|
|
board_finalize_runner_args(jlink "--dt-flash=y")
|