zephyr/boards/x86/quark_se_c1000_devboard/board.cmake

10 lines
304 B
CMake

include($ENV{ZEPHYR_BASE}/boards/common/openocd.board.cmake)
set(OPENOCD_PRE_CMD "targets 1")
set(OPENOCD_LOAD_CMD "load_image ${PROJECT_BINARY_DIR}/${KERNEL_BIN_NAME} ${CONFIG_FLASH_BASE_ADDRESS}")
set_property(GLOBAL APPEND PROPERTY FLASH_SCRIPT_ENV_VARS
OPENOCD_PRE_CMD
OPENOCD_LOAD_CMD
)