Skip to content

Commit b1c882a

Browse files
committed
Default nrf boards to UF2
1 parent 70939ad commit b1c882a

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

tools/build_board_info.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,29 @@
2121

2222
# Default extensions
2323
extension_by_port = {
24-
"nrf": BIN,
24+
"nrf": UF2,
2525
"esp8266": BIN,
2626
"atmel-samd": UF2,
2727
}
2828

2929
# Per board overrides
3030
extension_by_board = {
31-
"feather_nrf52832": BIN,
31+
# samd
3232
"arduino_mkr1300": BIN,
3333
"arduino_zero": BIN,
3434
"feather_m0_adalogger": BIN_UF2,
3535
"feather_m0_basic": BIN_UF2,
3636
"feather_m0_rfm69": BIN,
3737
"feather_m0_rfm9x": BIN,
38+
39+
# nrf52832
40+
"feather_nrf52832": BIN,
41+
"pca10040": BIN,
42+
43+
# nRF52840 dev kits that may not have UF2 bootloaders,
3844
"makerdiary_nrf52840_mdk": HEX,
39-
"particle_argon": UF2,
40-
"particle_boron": UF2,
41-
"particle_xenon": UF2
45+
"pca10056": BIN_UF2,
46+
"pca10059": BIN_UF2
4247
}
4348

4449
def get_languages():

0 commit comments

Comments
 (0)