9 lines
322 B
Makefile
9 lines
322 B
Makefile
FLASH_SCRIPT = openocd.sh
|
|
DEBUG_SCRIPT = openocd.sh
|
|
OPENOCD_PRE_CMD = "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
|
|
|