Commit 80d786a1 authored by Adithya Baglody's avatar Adithya Baglody Committed by Anas Nashif
Browse files

boards: quark_d2000: openocd: Fixed load image command for D2000.



During cmake migration the load image was not correctly set.
This was causing flash failures.

Signed-off-by: default avatarAdithya Baglody <adithya.nagaraj.baglody@intel.com>
parent 429c2a4d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
include($ENV{ZEPHYR_BASE}/boards/common/openocd.board.cmake)

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_LOAD_CMD
  )