diff options
author | Damien George <damien@micropython.org> | 2020-12-09 11:02:47 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-12-09 13:19:31 +1100 |
commit | 460a181b77c875608c27dcb955560cff3a51f839 (patch) | |
tree | 02892e259059705c90d0ce0c599e988be1ce5903 | |
parent | 8a29319a157a69c1755d515e466b3e1c7ed8b76e (diff) |
stm32/mboot: Enable LFS2_READONLY for mboot builds with littlefs.
To reduce code size, since mboot does not modify the filesystem.
Signed-off-by: Damien George <damien@micropython.org>
-rwxr-xr-x | ports/stm32/mboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mboot/Makefile b/ports/stm32/mboot/Makefile index 3d041e1c1..44372b0e8 100755 --- a/ports/stm32/mboot/Makefile +++ b/ports/stm32/mboot/Makefile @@ -71,7 +71,7 @@ CFLAGS += -DBOARD_$(BOARD) CFLAGS += -DAPPLICATION_ADDR=$(TEXT0_ADDR) CFLAGS += -DFFCONF_H=\"ports/stm32/mboot/ffconf.h\" CFLAGS += -DLFS1_NO_MALLOC -DLFS1_NO_DEBUG -DLFS1_NO_WARN -DLFS1_NO_ERROR -DLFS1_NO_ASSERT -CFLAGS += -DLFS2_NO_MALLOC -DLFS2_NO_DEBUG -DLFS2_NO_WARN -DLFS2_NO_ERROR -DLFS2_NO_ASSERT +CFLAGS += -DLFS2_NO_MALLOC -DLFS2_NO_DEBUG -DLFS2_NO_WARN -DLFS2_NO_ERROR -DLFS2_NO_ASSERT -DLFS2_READONLY CFLAGS += -DBUILDING_MBOOT=1 CFLAGS += -DMICROPY_HW_STM32WB_FLASH_SYNCRONISATION=0 CFLAGS += -DBOOTLOADER_DFU_USB_VID=$(BOOTLOADER_DFU_USB_VID) -DBOOTLOADER_DFU_USB_PID=$(BOOTLOADER_DFU_USB_PID) |