2016-01-16 01:18:53 +08:00
|
|
|
FLASH_SCRIPT = openocd.sh
|
|
|
|
OPENOCD_PRE_CMD = "-c targets 1"
|
|
|
|
OPENOCD_LOAD_CMD = "load_image ${O}/${KERNEL_BIN_NAME} 0x40000000"
|
|
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} 0x40000000"
|
|
|
|
|
2016-02-02 11:24:21 +08:00
|
|
|
GDB_PORT = 3334
|
|
|
|
|
2016-04-01 21:00:44 +08:00
|
|
|
export OPENOCD_PRE_CMD FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD GDB_PORT
|
2016-01-16 01:18:53 +08:00
|
|
|
|