samv71-xplained-atwilc3000: automatically build on make flash

This commit is contained in:
Matthias Ringwald 2017-08-10 16:24:25 +02:00
parent 7d82eb501e
commit 3d1bd8093c

View File

@ -54,8 +54,6 @@ all: le_counter.h wilc3000_bt_firmware.c
le_counter.h: ${BTSTACK_ROOT}/example/le_counter.gatt
python ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@
flash: $(TARGET_FLASH)
openocd -f interface/cmsis-dap.cfg -f board/atmel_samv71_xplained_ultra.cfg -f upload.cfg
# Include the common Makefile, which will also include the project specific
# config.mk file.
@ -64,3 +62,7 @@ include $(MAKEFILE_PATH)
# firmware
include ${BTSTACK_ROOT}/chipset/atwilc3000/Makefile.inc
flash: $(TARGET_FLASH)
openocd -f interface/cmsis-dap.cfg -f board/atmel_samv71_xplained_ultra.cfg -f upload.cfg