2016-01-16 01:18:53 +08:00
|
|
|
FLASH_SCRIPT = openocd.sh
|
2017-01-08 02:22:21 +08:00
|
|
|
DEBUG_SCRIPT = openocd.sh
|
2016-01-16 01:18:53 +08:00
|
|
|
OPENOCD_PRE_CMD = "-c targets 1"
|
|
|
|
OPENOCD_LOAD_CMD = "load_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_PHYS_LOAD_ADDR}"
|
|
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_PHYS_LOAD_ADDR}"
|
|
|
|
|
|
|
|
export FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD OPENOCD_PRE_CMD
|
|
|
|
|