We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05fcc9f commit ba4724eCopy full SHA for ba4724e
src/usb/uf2/uf2cfg.h
@@ -14,11 +14,19 @@
14
#define CFG_UF2_FAMILY_BOOT_ID 0xd663823c
15
16
#define CFG_UF2_NUM_BLOCKS 0x10109 // just under 32MB
17
-#define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
+#if defined(NRF52833_XXAA)
18
+ #define CFG_UF2_FLASH_SIZE 0x80000 // 512 kB
19
+#else
20
+ #define CFG_UF2_FLASH_SIZE (1024*1024) // 1 MB
21
+#endif
22
23
// Application Address Space
24
#define USER_FLASH_START MBR_SIZE // skip MBR included in SD hex
-#define USER_FLASH_END (BOOTLOADER_REGION_START - DFU_APP_DATA_RESERVED)
25
26
+ #define USER_FLASH_END 0x2D000
27
28
+ #define USER_FLASH_END 0xAD000
29
30
31
// Bootloader start address
32
#define BOOTLOADER_ADDR_START BOOTLOADER_REGION_START
0 commit comments