Skip to content

Commit 0e88b77

Browse files
authored
Merge pull request #4977 from pewpew-game/samd21-filesystem-size
Allow changing size of the filesystem on samd21 per board
2 parents 7c2fd27 + 92fa105 commit 0e88b77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ports/atmel-samd/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,13 @@
9292

9393
#ifdef SAMD21
9494

95+
#ifndef CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE
9596
#if INTERNAL_FLASH_FILESYSTEM
9697
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (64 * 1024)
9798
#else
9899
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE (0)
99100
#endif
101+
#endif
100102

101103
#ifndef CIRCUITPY_INTERNAL_NVM_SIZE
102104
#define CIRCUITPY_INTERNAL_NVM_SIZE (256)

0 commit comments

Comments
 (0)