mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 23:56:06 +00:00
Using the latest SDK (0.7.2) you can flash directly using make by specifying the board, for example make BOARD=arduino_101 flash This will build and flash the generated binary to the board. Change-Id: I90254abd69874efbb449ef318079958980c23074 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
8 lines
299 B
Makefile
8 lines
299 B
Makefile
FLASH_SCRIPT = openocd.sh
|
|
OPENOCD_PRE_CMD = "-c targets 1"
|
|
OPENOCD_LOAD_CMD = "load_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_PHYS_LOAD_ADDR}"
|
|
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_PHYS_LOAD_ADDR}"
|
|
|
|
export FLASH_SCRIPT OPENOCD_VERIFY_CMD OPENOCD_LOAD_CMD OPENOCD_PRE_CMD
|
|
|