From a90e806475f3f0307cefdfab8bdb25643343e346 Mon Sep 17 00:00:00 2001 From: Nathaniel Wesley Filardo Date: Sun, 23 Aug 2020 21:49:28 +0100 Subject: [PATCH] Rename LUA_MODULE_* to NODEMCU_CMODULE_* (#38) Synchronize with https://github.com/nodemcu/nodemcu-firmware/pull/3135 --- ESP32/before-script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ESP32/before-script.sh b/ESP32/before-script.sh index f89eb631ff0..7b422756212 100755 --- a/ESP32/before-script.sh +++ b/ESP32/before-script.sh @@ -10,12 +10,12 @@ echo "Running 'before_script' for ESP32" # select modules # --------------------------------------------------------------------------- # disable all modules - sed -ri 's/(CONFIG_LUA_MODULE_.*=).{0,1}/\1/' sdkconfig + sed -ri 's/(CONFIG_NODEMCU_CMODULE_.*=).{0,1}/\1/' sdkconfig # enable the selected ones echo "Enabling modules $X_MODULES" mapfile -t modules < <(echo "$X_MODULES" | tr , '\n' | tr '[:lower:]' '[:upper:]') for m in "${modules[@]}"; do - sed -ri "s/(CONFIG_LUA_MODULE_$m=)/\1y/" sdkconfig + sed -ri "s/(CONFIG_NODEMCU_CMODULE_$m=)/\1y/" sdkconfig done # --------------------------------------------------------------------------- @@ -36,7 +36,7 @@ echo "Running 'before_script' for ESP32" # --------------------------------------------------------------------------- if [ "${X_FATFS_ENABLED}" == "true" ]; then echo "Enabling FatFS/SDMMC" - sed -ri "s/(CONFIG_LUA_MODULE_SDMMC=).{0,1}/\1y/" sdkconfig + sed -ri "s/(CONFIG_NODEMCU_CMODULE_SDMMC=).{0,1}/\1y/" sdkconfig fi # ---------------------------------------------------------------------------