From 8f3167a96247539b04daedb7fead39804d961454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20R=C3=B6mhild?= Date: Mon, 11 May 2020 12:24:36 +0200 Subject: [PATCH] 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. --- ports/esp8266/boards/GENERIC/mpconfigboard.mk | 6 +++--- ports/esp8266/boards/GENERIC_1M/mpconfigboard.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ports/esp8266/boards/GENERIC/mpconfigboard.mk b/ports/esp8266/boards/GENERIC/mpconfigboard.mk index 2ecfb6d343..6861317218 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 7399790e71..fdbb0d8245 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