Enlarge the usb disk
This commit is contained in:
parent
5a1e69f5b8
commit
7ac11ed8e1
@ -9,4 +9,4 @@
|
||||
|
||||
#include "internal_flash.h"
|
||||
|
||||
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x010000)
|
||||
#define BOARD_FLASH_SIZE (0x00040000 - 0x2000 - 0x014000)
|
||||
|
@ -6,7 +6,7 @@
|
||||
MEMORY
|
||||
{
|
||||
/* Leave 8KiB for the bootloader, 256b for persistent config (clock), 64k for the flash file system and 256b for the user config. */
|
||||
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 64K - 256
|
||||
FLASH (rx) : ORIGIN = 0x00000000 + 8K, LENGTH = 256K - 8K - 256 - 80K - 256
|
||||
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 32K
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef SAMD21
|
||||
#define TOTAL_INTERNAL_FLASH_SIZE 0x010000
|
||||
#define TOTAL_INTERNAL_FLASH_SIZE 0x014000
|
||||
#endif
|
||||
|
||||
#define INTERNAL_FLASH_MEM_SEG1_START_ADDR (FLASH_SIZE - TOTAL_INTERNAL_FLASH_SIZE - CIRCUITPY_INTERNAL_NVM_SIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user