samd: Set the LFS type in mpconfigmcu.mk instead of mpconfigboard.mk.
SAMD21: set the filesystem type to LFS1. SAMD51: the type is already set to LFS2, support is now dropped for LFS1. It has not been used and dropping it saves 10 k of flash. Signed-off-by: robert-hh <robert@hammelrath.com>
This commit is contained in:
parent
5a9a0df340
commit
909fe30dfd
|
@ -5,5 +5,4 @@ TEXT0 = 0x2000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 248K
|
||||
|
|
|
@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 496K
|
||||
|
|
|
@ -5,5 +5,4 @@ TEXT0 = 0x2000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 248K
|
||||
|
|
|
@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 496K
|
||||
|
|
|
@ -4,8 +4,6 @@ LD_FILES = boards/samd51x19a.ld sections.ld
|
|||
TEXT0 = 0x4000
|
||||
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
|
||||
MICROPY_PY_NETWORK ?= 1
|
||||
MICROPY_PY_NETWORK_NINAW10 ?= 1
|
||||
|
||||
|
|
|
@ -2,7 +2,3 @@ MCU_SERIES = SAMD21
|
|||
CMSIS_MCU = SAMD21E18A
|
||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||
TEXT0 = 0x2000
|
||||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
|
|
|
@ -6,5 +6,4 @@ TEXT0 = 0x4000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 496K
|
||||
|
|
|
@ -2,7 +2,3 @@ MCU_SERIES = SAMD21
|
|||
CMSIS_MCU = SAMD21J18A
|
||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||
TEXT0 = 0x2000
|
||||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
|
@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 496K
|
||||
|
|
|
@ -2,8 +2,3 @@ MCU_SERIES = SAMD21
|
|||
CMSIS_MCU = SAMD21G18A
|
||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||
TEXT0 = 0x2000
|
||||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
|
||||
|
|
|
@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||
|
||||
# The ?='s allow overriding in mpconfigboard.mk.
|
||||
# MicroPython settings
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
MICROPY_HW_CODESIZE ?= 1008K
|
||||
|
|
|
@ -4,6 +4,8 @@ MPY_CROSS_MCU_ARCH = armv6m
|
|||
|
||||
MICROPY_HW_CODESIZE ?= 184K
|
||||
|
||||
MICROPY_VFS_LFS1 ?= 1
|
||||
|
||||
SRC_S += shared/runtime/gchelper_thumb1.s
|
||||
|
||||
LIBM_SRC_C += $(addprefix lib/libm/,\
|
||||
|
|
Loading…
Reference in New Issue