zephyr/boards/arc/em_starterkit/Makefile.board

17 lines
629 B
Makefile

#
# 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.
#
#FLASH_SCRIPT = openocd.sh
# ^^ Keep FLASH_SCRIPT undefined for now since flashing a self-boot image
# is not yet supported by Zephyr Makefile.
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