Merge pull request #4977 from pewpew-game/samd21-filesystem-size

Allow changing size of the filesystem on samd21 per board
This commit is contained in:
Scott Shawcroft 2021-07-09 11:00:13 -07:00 committed by GitHub
commit 0e88b77b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -92,11 +92,13 @@
#ifdef SAMD21 #ifdef SAMD21
#ifndef CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE
#if INTERNAL_FLASH_FILESYSTEM #if INTERNAL_FLASH_FILESYSTEM
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (64 * 1024) #define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (64 * 1024)
#else #else
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (0) #define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (0)
#endif #endif
#endif
#ifndef CIRCUITPY_INTERNAL_NVM_SIZE #ifndef CIRCUITPY_INTERNAL_NVM_SIZE
#define CIRCUITPY_INTERNAL_NVM_SIZE (256) #define CIRCUITPY_INTERNAL_NVM_SIZE (256)