boards: arm: xiao_ble: add UF2 runner
Include UF2 runner for the XIAO BLE to allow basic flashing over UF2 without any additional hardware. Tested with both `xiao_ble` and `xiao_ble_sense` boards. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
parent
489f4acd68
commit
37c6136385
|
@ -3,7 +3,9 @@
|
||||||
board_runner_args(nrfjprog "--nrf-family=NRF52")
|
board_runner_args(nrfjprog "--nrf-family=NRF52")
|
||||||
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
|
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
|
||||||
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
|
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
|
||||||
|
board_runner_args(uf2 "--board-id=Seeed_XIAO_nRF52840_Sense")
|
||||||
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
|
||||||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
|
||||||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
|
||||||
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
|
||||||
|
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)
|
||||||
|
|
Loading…
Reference in a new issue