aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Römhild2020-05-11 12:24:36 +0200
committerDamien George2020-05-14 22:16:01 +1000
commit8f3167a96247539b04daedb7fead39804d961454 (patch)
tree0b03e5d2d847cb4cb6be31262388de20174cfb58
parent801f7dca78c2983a8ab96e79784d0b3c5cc9e7de (diff)
esp8266/boards: Allow configuring btree/FAT/LFS2 support when building.
Prior to e0905e85a7ad2961aa9192f6130565860e531ad3 it was possible to disable btree support on build. This patch allows to configure btree support on make again and also the two new introduced options for FAT and LFS2 filesystems.
-rw-r--r--ports/esp8266/boards/GENERIC/mpconfigboard.mk6
-rw-r--r--ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk4
2 files changed, 5 insertions, 5 deletions
diff --git a/ports/esp8266/boards/GENERIC/mpconfigboard.mk b/ports/esp8266/boards/GENERIC/mpconfigboard.mk
index 2ecfb6d34..686131721 100644
--- a/ports/esp8266/boards/GENERIC/mpconfigboard.mk
+++ b/ports/esp8266/boards/GENERIC/mpconfigboard.mk
@@ -1,7 +1,7 @@
LD_FILES = boards/esp8266_2m.ld
-MICROPY_PY_BTREE = 1
-MICROPY_VFS_FAT = 1
-MICROPY_VFS_LFS2 = 1
+MICROPY_PY_BTREE ?= 1
+MICROPY_VFS_FAT ?= 1
+MICROPY_VFS_LFS2 ?= 1
FROZEN_MANIFEST ?= $(BOARD_DIR)/manifest.py
diff --git a/ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk b/ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk
index 7399790e7..fdbb0d824 100644
--- a/ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk
+++ b/ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk
@@ -1,4 +1,4 @@
LD_FILES = boards/esp8266_1m.ld
-MICROPY_PY_BTREE = 1
-MICROPY_VFS_LFS2 = 1
+MICROPY_PY_BTREE ?= 1
+MICROPY_VFS_LFS2 ?= 1