Skip to content

Commit be2b4f7

Browse files
microbitv2_bl: Add non-zero board ID to micro:bit DAPLink bootloader (#928)
1 parent 647daee commit be2b4f7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

source/board/kl27z_microbit_bl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const target_family_descriptor_t *g_target_family = NULL;
5959

6060
const board_info_t g_board_info = {
6161
.info_version = kBoardInfoVersion,
62-
.board_id = "0000",
62+
.board_id = "9903",
6363
.daplink_url_name = "HELP_FAQHTM",
6464
.daplink_drive_name = "MAINTENANCE",
6565
.daplink_target_url = "https://microbit.org/device/?id=@B&v=@V&bl=1",

source/board/nrf52820_microbit_bl.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ target_cfg_t target_device = {
6868
// bootloader has no family
6969
const target_family_descriptor_t *g_target_family = NULL;
7070

71+
// Use the 9905 board ID in the bootloader for both nRF52833 and nRF52820
72+
// Mainly used to identify which interface hex file to download from the micro:bit help page
7173
const board_info_t g_board_info = {
7274
.info_version = kBoardInfoVersion,
73-
.board_id = "0000",
75+
.board_id = "9905",
7476
.daplink_url_name = "HELP_FAQHTM",
7577
.daplink_drive_name = "MAINTENANCE",
7678
.daplink_target_url = "https://microbit.org/device/?id=@B&v=@V&bl=1",

0 commit comments

Comments
 (0)