2016-02-18 17:36:47 +08:00
|
|
|
FLASH_SCRIPT = openocd.sh
|
2017-01-08 02:22:21 +08:00
|
|
|
DEBUG_SCRIPT = openocd.sh
|
2016-02-18 17:36:47 +08:00
|
|
|
OPENOCD_PRE_CMD = "-c targets 1"
|
2016-04-24 09:37:48 +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)"
|
2016-02-18 17:36:47 +08:00
|
|
|
|
2016-04-01 21:00:44 +08:00
|
|
|
export OPENOCD_PRE_CMD FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD
|