Skip to content

Commit db5444f

Browse files
robert-hhdpgeorge
authored andcommitted
samd/boards: Extend the code size limit for boards with external flash.
Code size limits are charged to: - SAMD21: 184K -> 248K - SAMD51x19: 368K -> 496K - SAMD51x20: 368K -> 1008K Signed-off-by: robert-hh <[email protected]>
1 parent 69cb5e8 commit db5444f

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

ports/samd/boards/ADAFRUIT_FEATHER_M0_EXPRESS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x2000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 248K

ports/samd/boards/ADAFRUIT_FEATHER_M4_EXPRESS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x4000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 496K

ports/samd/boards/ADAFRUIT_ITSYBITSY_M0_EXPRESS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x2000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 248K

ports/samd/boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x4000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 496K

ports/samd/boards/ADAFRUIT_METRO_M4_EXPRESS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ MICROPY_PY_NETWORK ?= 1
1010
MICROPY_PY_NETWORK_NINAW10 ?= 1
1111

1212
BOARD_VARIANTS += "wlan"
13+
MICROPY_HW_CODESIZE ?= 496K

ports/samd/boards/MINISAM_M4/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ TEXT0 = 0x4000
77
# The ?='s allow overriding in mpconfigboard.mk.
88
# MicroPython settings
99
MICROPY_VFS_LFS1 ?= 1
10+
MICROPY_HW_CODESIZE ?= 496K

ports/samd/boards/SEEED_WIO_TERMINAL/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x4000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 496K

ports/samd/boards/SPARKFUN_SAMD51_THING_PLUS/mpconfigboard.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ TEXT0 = 0x4000
66
# The ?='s allow overriding in mpconfigboard.mk.
77
# MicroPython settings
88
MICROPY_VFS_LFS1 ?= 1
9+
MICROPY_HW_CODESIZE ?= 1008K

0 commit comments

Comments
 (0)