mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 17:32:49 +00:00
Since commit "build: use target 'debugserver' for Qemu debugging", DEBUG_SCRIPT should be used to enable make debug option This commit provide debug option to following boards: nucleo_f334r8 nucleo_f401re stm3210c_eval stm32373c_eval Change-Id: I92eb36257b6e05125440b0e83985d59bcda27aa8 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
8 lines
297 B
Makefile
8 lines
297 B
Makefile
FLASH_SCRIPT = openocd.sh
|
|
DEBUG_SCRIPT = openocd.sh
|
|
|
|
OPENOCD_LOAD_CMD = "flash write_image erase ${O}/${KERNEL_BIN_NAME} ${CONFIG_FLASH_BASE_ADDRESS}"
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_FLASH_BASE_ADDRESS}"
|
|
|
|
export FLASH_SCRIPT OPENOCD_LOAD_CMD OPENOCD_VERIFY_CMD
|