2016-05-21 12:23:34 +08:00
|
|
|
#
|
|
|
|
# TODO: This file is WRONG currently.
|
|
|
|
# The Zephyr-SDK tools don't yet support working with the ARC EM Starter Kit
|
|
|
|
# See doc/board/em_starterkit.rst for more details.
|
|
|
|
#
|
2016-06-02 08:17:52 +08:00
|
|
|
#FLASH_SCRIPT = openocd.sh
|
|
|
|
# ^^ Keep FLASH_SCRIPT undefined for now since flashing a self-boot image
|
|
|
|
# is not yet supported by Zephyr Makefile.
|
2016-05-21 12:23:34 +08:00
|
|
|
OPENOCD_PRE_CMD = "-c targets 1"
|
|
|
|
OPENOCD_LOAD_CMD = "load_image ${O}/${KERNEL_BIN_NAME} $(CONFIG_ICCM_BASE_ADDRESS)"
|
|
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} $(CONFIG_ICCM_BASE_ADDRESS)"
|
|
|
|
|
|
|
|
GDB_PORT = 3333
|
|
|
|
|
|
|
|
export OPENOCD_PRE_CMD FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD GDB_PORT
|
|
|
|
|