Skip to content

Commit 4cfba0a

Browse files
committed
revert booloaderConfig
use compatible bootloaderConfig temporarily
1 parent bb18c98 commit 4cfba0a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/boards/slimenrf_promicro/pinconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const uint32_t bootloaderConfig[] =
1010

1111
204, 0x100000, // FLASH_BYTES = 0x100000
1212
205, 0x40000, // RAM_BYTES = 0x40000
13-
208, (0x239A << 16) | 0x00B3, // keep same as nice!nano for update compatibility
13+
208, (USB_DESC_VID << 16) | USB_DESC_UF2_PID, // BOOTLOADER_BOARD_ID = USB VID+PID, used for verification when updating bootloader via uf2
1414
209, 0xada52840, // UF2_FAMILY = 0xada52840
1515
210, 0x20, // PINS_PORT_SIZE = PA_32
1616

src/boards/slimenrf_xiao/pinconfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const uint32_t bootloaderConfig[] =
1010

1111
204, 0x100000, // FLASH_BYTES = 0x100000
1212
205, 0x40000, // RAM_BYTES = 0x40000
13-
208, (0x2886 << 16) | 0x0044, // keep same as xiao for update compatibility
13+
208, (USB_DESC_VID << 16) | USB_DESC_UF2_PID, // BOOTLOADER_BOARD_ID = USB VID+PID, used for verification when updating bootloader via uf2
1414
209, 0xada52840, // UF2_FAMILY = 0xada52840
1515
210, 0x20, // PINS_PORT_SIZE = PA_32
1616

1717
0, 0, 0, 0, 0, 0, 0, 0
1818
/* CF2 END */
19-
};
19+
};

src/boards/slimenrf_xiao_sense/pinconfig.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const uint32_t bootloaderConfig[] =
1010

1111
204, 0x100000, // FLASH_BYTES = 0x100000
1212
205, 0x40000, // RAM_BYTES = 0x40000
13-
208, (0x2886 << 16) | 0x0045, // keep same as xiao sense for update compatibility
13+
208, (USB_DESC_VID << 16) | USB_DESC_UF2_PID, // BOOTLOADER_BOARD_ID = USB VID+PID, used for verification when updating bootloader via uf2
1414
209, 0xada52840, // UF2_FAMILY = 0xada52840
1515
210, 0x20, // PINS_PORT_SIZE = PA_32
1616

1717
0, 0, 0, 0, 0, 0, 0, 0
1818
/* CF2 END */
19-
};
19+
};

0 commit comments

Comments
 (0)