mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
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:
@@ -5,5 +5,4 @@ TEXT0 = 0x2000
|
|||||||
|
|
||||||
# The ?='s allow overriding in mpconfigboard.mk.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 248K
|
MICROPY_HW_CODESIZE ?= 248K
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||||||
|
|
||||||
# The ?='s allow overriding in mpconfigboard.mk.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 496K
|
MICROPY_HW_CODESIZE ?= 496K
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ TEXT0 = 0x2000
|
|||||||
|
|
||||||
# The ?='s allow overriding in mpconfigboard.mk.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 248K
|
MICROPY_HW_CODESIZE ?= 248K
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ TEXT0 = 0x4000
|
|||||||
|
|
||||||
# The ?='s allow overriding in mpconfigboard.mk.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 496K
|
MICROPY_HW_CODESIZE ?= 496K
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ LD_FILES = boards/samd51x19a.ld sections.ld
|
|||||||
TEXT0 = 0x4000
|
TEXT0 = 0x4000
|
||||||
|
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
|
|
||||||
MICROPY_PY_NETWORK ?= 1
|
MICROPY_PY_NETWORK ?= 1
|
||||||
MICROPY_PY_NETWORK_NINAW10 ?= 1
|
MICROPY_PY_NETWORK_NINAW10 ?= 1
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,3 @@ MCU_SERIES = SAMD21
|
|||||||
CMSIS_MCU = SAMD21E18A
|
CMSIS_MCU = SAMD21E18A
|
||||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||||
TEXT0 = 0x2000
|
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.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 496K
|
MICROPY_HW_CODESIZE ?= 496K
|
||||||
|
|||||||
@@ -2,7 +2,3 @@ MCU_SERIES = SAMD21
|
|||||||
CMSIS_MCU = SAMD21J18A
|
CMSIS_MCU = SAMD21J18A
|
||||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||||
TEXT0 = 0x2000
|
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.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 496K
|
MICROPY_HW_CODESIZE ?= 496K
|
||||||
|
|||||||
@@ -2,8 +2,3 @@ MCU_SERIES = SAMD21
|
|||||||
CMSIS_MCU = SAMD21G18A
|
CMSIS_MCU = SAMD21G18A
|
||||||
LD_FILES = boards/samd21x18a.ld sections.ld
|
LD_FILES = boards/samd21x18a.ld sections.ld
|
||||||
TEXT0 = 0x2000
|
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.
|
# The ?='s allow overriding in mpconfigboard.mk.
|
||||||
# MicroPython settings
|
# MicroPython settings
|
||||||
MICROPY_VFS_LFS1 ?= 1
|
|
||||||
MICROPY_HW_CODESIZE ?= 1008K
|
MICROPY_HW_CODESIZE ?= 1008K
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ MPY_CROSS_MCU_ARCH = armv6m
|
|||||||
|
|
||||||
MICROPY_HW_CODESIZE ?= 184K
|
MICROPY_HW_CODESIZE ?= 184K
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS1 ?= 1
|
||||||
|
|
||||||
SRC_S += shared/runtime/gchelper_thumb1.s
|
SRC_S += shared/runtime/gchelper_thumb1.s
|
||||||
|
|
||||||
LIBM_SRC_C += $(addprefix lib/libm/,\
|
LIBM_SRC_C += $(addprefix lib/libm/,\
|
||||||
|
|||||||
Reference in New Issue
Block a user