add uf2 target for uf2 bootloader board: metro m0/m4 feather nrf52840

This commit is contained in:
hathach
2019-05-20 12:35:33 +07:00
parent 9cc5708467
commit 6861b670fc
6 changed files with 54 additions and 1 deletions
+4 -1
View File
@@ -12,7 +12,7 @@ CFLAGS += \
CFLAGS += -Wno-error=undef
# All source paths should be relative to the top level.
LD_FILE = hw/mcu/nordic/nrfx/mdk/nrf52840_xxaa.ld
LD_FILE = hw/bsp/feather_nrf52840_express/nrf52840_s140_v6.ld
LDFLAGS += -L$(TOP)/hw/mcu/nordic/nrfx/mdk
@@ -47,5 +47,8 @@ FREERTOS_PORT = ARM_CM4F
JLINK_DEVICE = nRF52840_xxAA
JLINK_IF = swd
# For uf2 conversion
UF2_FAMILY = 0xADA52840
# flash using jlink
flash: flash-jlink