frdm_k64f: add flash target using openocd

This requires openocd > 0.9.0.

Change-Id: I6e0007abd3db1fde3cf461d3c1cf5549abc68983
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-05-07 11:30:01 -04:00 committed by Anas Nashif
parent bbe222cad0
commit 4c7a5667f6
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,6 @@
FLASH_SCRIPT = openocd.sh
OPENOCD_LOAD_CMD = "flash write_image erase ${O}/${KERNEL_BIN_NAME} ${CONFIG_FLASH_BASE_ADDRESS}"
OPENOCD_VERIFY_CMD = "verify_image ${O}/${KERNEL_BIN_NAME} ${CONFIG_FLASH_BASE_ADDRESS}"
export FLASH_SCRIPT OPENOCD_LOAD_CMD OPENOCD_VERIFY_CMD

View file

@ -0,0 +1,4 @@
source [find interface/cmsis-dap.cfg]
source [find target/k60.cfg]