Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/boards/bluemicro_nrf52833/pinconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const uint32_t bootloaderConfig[] =
CFG_MAGIC0, CFG_MAGIC1, // magic
5, 100, // used entries, total entries

204, 0x100000, // FLASH_BYTES = 0x100000
205, 0x40000, // RAM_BYTES = 0x40000
204, 0x80000, // FLASH_BYTES
205, 0x20000, // RAM_BYTES
208, (USB_DESC_VID << 16) | USB_DESC_UF2_PID, // BOOTLOADER_BOARD_ID = USB VID+PID, used for verification when updating bootloader via uf2
209, 0xada52840, // UF2_FAMILY = 0xada52840
210, 0x20, // PINS_PORT_SIZE = PA_32
Expand Down
4 changes: 2 additions & 2 deletions src/boards/pca10100/pinconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const uint32_t bootloaderConfig[] =
CFG_MAGIC0, CFG_MAGIC1, // magic
5, 100, // used entries, total entries

204, 0x100000, // FLASH_BYTES = 0x100000
205, 0x40000, // RAM_BYTES = 0x40000
204, 0x80000, // FLASH_BYTES
205, 0x20000, // RAM_BYTES
208, (USB_DESC_VID << 16) | USB_DESC_UF2_PID, // BOOTLOADER_BOARD_ID = USB VID+PID, used for verification when updating bootloader via uf2
209, 0xada52840, // UF2_FAMILY = 0xada52840
210, 0x20, // PINS_PORT_SIZE = PA_32
Expand Down
6 changes: 5 additions & 1 deletion src/usb/uf2/uf2cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
#define CFG_UF2_FAMILY_BOOT_ID 0xd663823c

#define CFG_UF2_NUM_BLOCKS 0x10109 // just under 32MB
#define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
#if defined(NRF52833_XXAA)
#define CFG_UF2_FLASH_SIZE 0x80000 // 512 kB
#else
#define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
#endif

// Application Address Space
#define USER_FLASH_START MBR_SIZE // skip MBR included in SD hex
Expand Down