9 lines
315 B
Makefile
9 lines
315 B
Makefile
|
FLASH_SCRIPT = openocd.sh
|
||
|
DEBUG_SCRIPT = openocd.sh
|
||
|
|
||
|
FLASH_BASE_ADDRESS = 0x08000000
|
||
|
OPENOCD_LOAD_CMD = "flash write_image erase ${O}/${KERNEL_BIN_NAME} ${FLASH_BASE_ADDRESS}"
|
||
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} ${FLASH_BASE_ADDRESS}"
|
||
|
|
||
|
export FLASH_SCRIPT OPENOCD_LOAD_CMD OPENOCD_VERIFY_CMD
|