Commit 55d4321c authored by Glenn Ruben Bakke's avatar Glenn Ruben Bakke Committed by Damien George

nrf/boards: Enable MICROPY_VFS_LFS2 for all target boards.

Enable LittleFS v2 for all targets, except nrf51 targets when SoftDevice is
present.
parent 23e8729d
......@@ -4,3 +4,5 @@ MCU_SUB_VARIANT = nrf9160
LD_FILES += boards/nrf9160_1M_256k.ld
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
FLASHER = pyocd
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
FLASHER = idap
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
NRF_DEFINES += -DNRF52832_XXAA
CFLAGS += -DBLUETOOTH_LFCLK_RC
MICROPY_VFS_LFS2 = 1
......@@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
LD_FILES += boards/nrf52832_512k_64k.ld
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,4 @@ LD_FILES += boards/nrf52832_512k_64k.ld
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
FLASHER = idap
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,3 +6,5 @@ LD_FILES += boards/nrf52832_512k_64k.ld
FLASHER = idap
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -6,6 +6,8 @@ SOFTDEV_VERSION = 8.0.0
ifneq ($(SD),)
LD_FILES += boards/microbit/custom_nrf51822_s110_microbit.ld
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
LD_FILES += boards/nrf51x22_256k_16k.ld
......
......@@ -17,3 +17,5 @@ endif
LD_FILES += boards/nrf52840_1M_256k.ld
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
# Note: This requires openocd >0.10
OPENOCD_TARGET ?= boards/$(BOARD)/nrf52-particle.cfg
MICROPY_VFS_LFS2 = 1
......@@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_16k.ld
ifneq ($(SD),)
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
......@@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_16k.ld
ifneq ($(SD),)
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
......@@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_32k.ld
ifneq ($(SD),)
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
......@@ -6,4 +6,6 @@ LD_FILES += boards/nrf51x22_256k_32k.ld
ifneq ($(SD),)
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
......@@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
LD_FILES += boards/nrf52832_512k_64k.ld
NRF_DEFINES += -DNRF52832_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -5,3 +5,5 @@ SOFTDEV_VERSION = 6.1.1
LD_FILES += boards/nrf52840_1M_256k.ld
NRF_DEFINES += -DNRF52840_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -17,3 +17,5 @@ endif
LD_FILES += boards/nrf52840_1M_256k.ld
NRF_DEFINES += -DNRF52840_XXAA
MICROPY_VFS_LFS2 = 1
......@@ -4,3 +4,5 @@ MCU_SUB_VARIANT = nrf9160
LD_FILES += boards/nrf9160_1M_256k.ld
NRF_DEFINES += -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE
MICROPY_VFS_LFS2 = 1
......@@ -8,4 +8,6 @@ CFLAGS += -DBLUETOOTH_LFCLK_RC
ifneq ($(SD),)
FROZEN_MANIFEST ?=
else
MICROPY_VFS_LFS2 = 1
endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment