Skip to content

Commit 7ac11ed

Browse files
committed
Enlarge the usb disk
1 parent 5a1e69f commit 7ac11ed

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ports/atmel-samd/boards/pewpew70/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
#include "internal_flash.h"
1111

12-
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
12+
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x014000)

ports/atmel-samd/boards/samd21x18-bootloader-crystalless.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
MEMORY
77
{
88
/* Leave 8KiB for the bootloader, 256b for persistent config (clock), 64k for the flash file system and 256b for the user config. */
9-
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 64K - 256
9+
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 80K - 256
1010
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
1111
}
1212

ports/atmel-samd/supervisor/internal_flash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#endif
3838

3939
#ifdef SAMD21
40-
#define TOTAL_INTERNAL_FLASH_SIZE 0x010000
40+
#define TOTAL_INTERNAL_FLASH_SIZE 0x014000
4141
#endif
4242

4343
#define INTERNAL_FLASH_MEM_SEG1_START_ADDR (FLASH_SIZE - TOTAL_INTERNAL_FLASH_SIZE - CIRCUITPY_INTERNAL_NVM_SIZE)

0 commit comments

Comments
 (0)