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:
parent
bbe222cad0
commit
4c7a5667f6
6
boards/frdm_k64f/Makefile.board
Normal file
6
boards/frdm_k64f/Makefile.board
Normal 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
|
4
boards/frdm_k64f/support/openocd.cfg
Normal file
4
boards/frdm_k64f/support/openocd.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
source [find interface/cmsis-dap.cfg]
|
||||
|
||||
source [find target/k60.cfg]
|
Loading…
Reference in a new issue