Skip to content

Commit

Permalink
boards: arm: xiao_ble: add UF2 runner
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mniestroj authored and fabiobaltieri committed May 17, 2023
1 parent 489f4ac commit 37c6136
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/arm/xiao_ble/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
board_runner_args(nrfjprog "--nrf-family=NRF52")
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
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/jlink.board.cmake)
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake)

0 comments on commit 37c6136

Please sign in to comment.