2017-02-10 00:07:56 +08:00
|
|
|
FLASH_SCRIPT = openocd.sh
|
|
|
|
DEBUG_SCRIPT = openocd.sh
|
2017-03-31 21:12:59 +08:00
|
|
|
OPENOCD_PRE_CMD = "targets 1"
|
2017-02-10 00:07:56 +08:00
|
|
|
OPENOCD_LOAD_CMD = "load_image ${O}/${KERNEL_BIN_NAME} $(CONFIG_FLASH_BASE_ADDRESS)"
|
|
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} $(CONFIG_FLASH_BASE_ADDRESS)"
|
|
|
|
|
|
|
|
export OPENOCD_PRE_CMD FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD
|