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>
pull/11875/head
robert-hh 2023-06-09 12:40:39 +02:00 zatwierdzone przez Damien George
rodzic 5a9a0df340
commit 909fe30dfd
12 zmienionych plików z 2 dodań i 22 usunięć

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x2000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 248K

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x4000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 496K

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x2000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 248K

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x4000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 496K

Wyświetl plik

@ -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

Wyświetl plik

@ -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

Wyświetl plik

@ -6,5 +6,4 @@ TEXT0 = 0x4000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 496K

Wyświetl plik

@ -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

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x4000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 496K

Wyświetl plik

@ -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

Wyświetl plik

@ -5,5 +5,4 @@ TEXT0 = 0x4000
# The ?='s allow overriding in mpconfigboard.mk.
# MicroPython settings
MICROPY_VFS_LFS1 ?= 1
MICROPY_HW_CODESIZE ?= 1008K

Wyświetl plik

@ -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/,\