nrf/boards: Enable MICROPY_VFS_LFS2 for all target boards.
Enable LittleFS v2 for all targets, except nrf51 targets when SoftDevice is present.
This commit is contained in:
parent
23e8729d3e
commit
55d4321c3e
|
@ -4,3 +4,5 @@ MCU_SUB_VARIANT = nrf9160
|
||||||
LD_FILES += boards/nrf9160_1M_256k.ld
|
LD_FILES += boards/nrf9160_1M_256k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
|
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
FLASHER = pyocd
|
FLASHER = pyocd
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
FLASHER = idap
|
FLASHER = idap
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
CFLAGS += -DBLUETOOTH_LFCLK_RC
|
CFLAGS += -DBLUETOOTH_LFCLK_RC
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
|
||||||
LD_FILES += boards/nrf52832_512k_64k.ld
|
LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,4 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
FLASHER = idap
|
FLASHER = idap
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
FLASHER = idap
|
FLASHER = idap
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,6 +6,8 @@ SOFTDEV_VERSION = 8.0.0
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
LD_FILES += boards/microbit/custom_nrf51822_s110_microbit.ld
|
LD_FILES += boards/microbit/custom_nrf51822_s110_microbit.ld
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LD_FILES += boards/nrf51x22_256k_16k.ld
|
LD_FILES += boards/nrf51x22_256k_16k.ld
|
||||||
|
|
|
@ -17,3 +17,5 @@ endif
|
||||||
LD_FILES += boards/nrf52840_1M_256k.ld
|
LD_FILES += boards/nrf52840_1M_256k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52840_XXAA
|
NRF_DEFINES += -DNRF52840_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -9,3 +9,5 @@ NRF_DEFINES += -DNRF52840_XXAA
|
||||||
# The nrf52-particle.cfg is not included here, it can be found in the Particle Workbench
|
# The nrf52-particle.cfg is not included here, it can be found in the Particle Workbench
|
||||||
# Note: This requires openocd >0.10
|
# Note: This requires openocd >0.10
|
||||||
OPENOCD_TARGET ?= boards/$(BOARD)/nrf52-particle.cfg
|
OPENOCD_TARGET ?= boards/$(BOARD)/nrf52-particle.cfg
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_16k.ld
|
||||||
|
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_16k.ld
|
||||||
|
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_32k.ld
|
||||||
|
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_32k.ld
|
||||||
|
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
|
||||||
LD_FILES += boards/nrf52832_512k_64k.ld
|
LD_FILES += boards/nrf52832_512k_64k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52832_XXAA
|
NRF_DEFINES += -DNRF52832_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
|
||||||
LD_FILES += boards/nrf52840_1M_256k.ld
|
LD_FILES += boards/nrf52840_1M_256k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52840_XXAA
|
NRF_DEFINES += -DNRF52840_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -17,3 +17,5 @@ endif
|
||||||
LD_FILES += boards/nrf52840_1M_256k.ld
|
LD_FILES += boards/nrf52840_1M_256k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF52840_XXAA
|
NRF_DEFINES += -DNRF52840_XXAA
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -4,3 +4,5 @@ MCU_SUB_VARIANT = nrf9160
|
||||||
LD_FILES += boards/nrf9160_1M_256k.ld
|
LD_FILES += boards/nrf9160_1M_256k.ld
|
||||||
|
|
||||||
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
|
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
|
||||||
|
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
|
@ -8,4 +8,6 @@ CFLAGS += -DBLUETOOTH_LFCLK_RC
|
||||||
|
|
||||||
ifneq ($(SD),)
|
ifneq ($(SD),)
|
||||||
FROZEN_MANIFEST ?=
|
FROZEN_MANIFEST ?=
|
||||||
|
else
|
||||||
|
MICROPY_VFS_LFS2 = 1
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue