3939; MoonModules entries
4040; ===================
4141
42- ; default_envs = esp32_4MB_min, esp32_4MB_max, esp32_16MB_max, esp8266_4MB_min, esp32_4MB_PSRAM_max, esp32S3_8MB_max, wemos_shield_esp32_4MB_max, wemos_shield_esp32_4MB_ICS4343x_max, wemos_shield_esp32_4MB_SPM1423_max, wemos_shield_esp32_4MB_LineIn_max, wemos_shield_esp32_16MB_max, esp32_pico_4MB_max
42+ default_envs = esp32_4MB_min, esp32_4MB_max, esp32_16MB_max, esp8266_4MB_min, esp32_4MB_PSRAM_max, esp32S3_8MB_max, wemos_shield_esp32_4MB_max, wemos_shield_esp32_4MB_ICS4343x_max, wemos_shield_esp32_4MB_SPM1423_max, wemos_shield_esp32_4MB_LineIn_max, wemos_shield_esp32_16MB_max, , wemos_shield_esp32_16MB_ICS4343x_max, wemos_shield_esp32_16MB_SPM1423_max, wemos_shield_esp32_16MB_LineIn_max , esp32_pico_4MB_max
4343; default_envs = esp32_4MB_min
44- default_envs = esp32_4MB_max ; recommended default
44+ ; default_envs = esp32_4MB_max ; recommended default
4545; default_envs = esp32_16MB_max
4646; default_envs = esp8266_4MB_min
4747; default_envs = esp32_4MB_V4_min
@@ -54,6 +54,9 @@ default_envs = esp32_4MB_max ; recommended default
5454; default_envs = wemos_shield_esp32_4MB_SPM1423_max
5555; default_envs = wemos_shield_esp32_4MB_LineIn_max
5656; default_envs = wemos_shield_esp32_16MB_max
57+ ; default_envs = wemos_shield_esp32_16MB_ICS4343x_max
58+ ; default_envs = wemos_shield_esp32_16MB_SPM1423_max
59+ ; default_envs = wemos_shield_esp32_16MB_LineIn_max
5760; default_envs = esp32_pico_4MB_max
5861
5962
@@ -628,7 +631,7 @@ lib_deps_max =
628631
629632; base entries (without WLED_RELEASE_NAME)
630633
631- ; esp32_4MB_min_base: basis for min entries and for max_base
634+ ; common defaults for all MM environments
632635[esp32_4MB_min_base]
633636board = esp32dev
634637platform = ${esp32.platform}
@@ -641,15 +644,15 @@ board_build.partitions = ${esp32.default_partitions}
641644board_build.f_flash = 80000000L ; use full 80MHz speed for flash (default = 40Mhz)
642645board_build.flash_mode = dio ; (dio = dual i/o; more compatible than qio = quad i/o)
643646
644- ; esp32_4MB_max_base: basis for max entries, uses esp32_4MB_min_base, build_flags_max and lib_deps_max
647+ ; common default for all max environments
645648[esp32_4MB_max_base]
646649extends = esp32_4MB_min_base
647650build_flags = ${esp32_4MB_min_base.build_flags} ${common_mm.build_flags_max}
648651lib_deps = ${esp32_4MB_min_base.lib_deps} ${common_mm.lib_deps_max}
649652board_build.partitions = ${esp32_4MB_min_base.board_build.partitions}
650653; board_build.partitions = tools/WLED_ESP32-wrover_4MB.csv
651654
652- ; esp32_4MB_V4_max_base: basis for V4 entries, uses build_flags_min, build_flags_max, lib_deps_min and lib_deps_max
655+ ; common default for all V4 min environments
653656[esp32_4MB_V4_min_base]
654657board = esp32dev
655658upload_speed = 460800 ; or 921600
@@ -671,63 +674,58 @@ lib_deps = ${esp32_4MB_V4_min_base.lib_deps} ${common_mm.lib_deps_max}
671674board_build.partitions = ${esp32_4MB_V4_min_base.board_build.partitions}
672675; board_build.flash_mode = qio ; (dio = dual i/o; more compatible than qio = quad i/o)
673676
677+ [Shield_ICS4343x]
678+ build_flags =
679+ -D SR_DMTYPE =1 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =14 ; for regular I2S microphone
680+ -D SR_SQUELCH =10 -D SR_GAIN =30 -D SR_FREQ_PROF =5 ; ICS-43434 specific
681+
682+ [Shield_SPM1423]
683+ build_flags =
684+ -D SR_DMTYPE =5 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =-1 ; for I2S PDM microphone
685+ -D SR_SQUELCH =3 -D SR_GAIN =75 -D SR_FREQ_PROF =7 ; SPM1423 specific
686+
687+ [Shield_LineIn]
688+ build_flags =
689+ -D SR_DMTYPE =4 -D MCLK_PIN =0 -D I2S_SDPIN =25 -D I2S_WSPIN =15 -D I2S_CKPIN =14 ; for audio Line-In shield
690+ -D SR_SQUELCH =2 -D SR_GAIN =40 -D SR_FREQ_PROF =1 ; CS5343 Line-In specific
691+
692+ [Board_ESP32_16MB]
693+ board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
694+ board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
695+
696+
674697; end of base entries
675698
699+
676700; bin entries (with WLED_RELEASE_NAME)
677701
678- ; esp32_4MB_min: bin entry, uses esp32_4MB_min_base
679702[env:esp32_4MB_min]
680703extends = esp32_4MB_min_base
681704build_flags = ${esp32_4MB_min_base.build_flags}
682- -D WLED_RELEASE_NAME =esp32_4MB_min ; This will be included in the firmware.bin filename
705+ -D WLED_RELEASE_NAME =esp32_4MB_min
683706 ; RAM: [== ] 24.1% (used 78900 bytes from 327680 bytes)
684707 ; Flash: [======== ] 83.7% (used 1315729 bytes from 1572864 bytes)
685- ; -D WLED_DISABLE_LOXONE
686- ; -D WLED_DISABLE_ALEXA
687- ; -D WLED_DISABLE_HUESYNC
688- ; -D WLED_DISABLE_MQTT
689- ; -D WLED_DISABLE_INFRARED
690- ; -D WLED_ENABLE_DMX
691- ; -D WLED_DEBUG
692- ; -D SR_DEBUG
693- ; -D MIC_LOGGER
694708
695- ; esp32_4MB_max: bin entry, uses esp32_4MB_max_base
696709[env:esp32_4MB_max]
697710extends = esp32_4MB_max_base
698711build_flags = ${esp32_4MB_max_base.build_flags}
699- -D WLED_RELEASE_NAME =esp32_4MB_max ; This will be included in the firmware.bin filename
712+ -D WLED_RELEASE_NAME =esp32_4MB_max
700713 ; RAM: [== ] 24.4% (used 79804 bytes from 327680 bytes)
701714 ; Flash: [========= ] 88.7% (used 1394813 bytes from 1572864 bytes)
702- ; -D WLED_DEBUG
703- ; -D SR_DEBUG
704- ; -D MIC_LOGGER
705715
706- ; esp32_16MB_max: bin entry, uses esp32_4MB_max_base and adds 16MB settings
707716[env:esp32_16MB_max]
708- extends = esp32_4MB_max_base
709- board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
710- board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
717+ extends = esp32_4MB_max_base, Board_ESP32_16MB
711718build_flags = ${esp32_4MB_max_base.build_flags}
712- -D WLED_RELEASE_NAME =esp32_16MB_max ; This will be included in the firmware.bin filename
719+ -D WLED_RELEASE_NAME =esp32_16MB_max
713720 ; RAM: [== ] 24.4% (used 79804 bytes from 327680 bytes)
714721 ; Flash: [======= ] 66.5% (used 1394813 bytes from 2097152 bytes)
715- ; -D WLED_DEBUG
716- ; -D SR_DEBUG
717- ; -D MIC_LOGGER
718- ; -D WLED_DISABLE_LOXONE
719- ; -D WLED_DISABLE_ALEXA
720- ; -D WLED_DISABLE_HUESYNC
721- ; -D WLED_DISABLE_MQTT
722- ; -D WLED_DISABLE_INFRARED
723722; lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
724723
725- ; esp8266_4MB_min: bin entry for 8266, with 2D (WIP)
726724[env:esp8266_4MB_min]
727725extends = env:d1_mini
728726upload_speed = 460800 ; 115200
729727build_flags = ${common.build_flags_esp8266}
730- -D WLED_RELEASE_NAME =esp8266_4MB_min ; This will be included in the firmware.bin filename
728+ -D WLED_RELEASE_NAME =esp8266_4MB_min
731729 ; -D WLED_DEBUG
732730 -D WLED_DISABLE_ALEXA
733731 -D WLED_DISABLE_BLYNK
@@ -746,11 +744,11 @@ build_flags = ${common.build_flags_esp8266}
746744; ; Warning: the build-in LittleFS (arduino-esp32 2.0.x) seems to be "slightly different" from Lorol LittleFS.
747745; ; When upgrading to the new framework, it might be necessary to first do a chip erase (make sure you have a backup of cfg.json and presets.json)
748746
749- ; esp32_4MB_V4_min: bin entry compiled with ESP-IDF 4.4.1, uses esp32_4MB_V4_min_base
747+ ; compiled with ESP-IDF 4.4.1
750748[env:esp32_4MB_V4_min]
751749extends = esp32_4MB_V4_min_base
752750build_flags = ${esp32_4MB_V4_min_base.build_flags}
753- -D WLED_RELEASE_NAME =esp32_4MB_V4_min ; This will be included in the firmware.bin filename
751+ -D WLED_RELEASE_NAME =esp32_4MB_V4_min
754752 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
755753 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
756754 -D WLED_DISABLE_LOXONE
@@ -765,11 +763,11 @@ build_flags = ${esp32_4MB_V4_min_base.build_flags}
765763 ; Flash: [========= ] 88.8% (used 1396073 bytes from 1572864 bytes)
766764; lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
767765
768- ; esp32_4MB_V4_max: bin entry compiled with ESP-IDF 4.4.1, uses esp32_4MB_V4_max_base
766+ ; compiled with ESP-IDF 4.4.1
769767[env:esp32_4MB_V4_max]
770768extends = esp32_4MB_V4_max_base
771769build_flags = ${esp32_4MB_V4_max_base.build_flags}
772- -D WLED_RELEASE_NAME =esp32_4MB_V4_max ; This will be included in the firmware.bin filename
770+ -D WLED_RELEASE_NAME =esp32_4MB_V4_max
773771 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
774772 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
775773 ; RAM: [== ] 24.8% (used 81316 bytes from 327680 bytes)
@@ -783,20 +781,17 @@ build_flags = ${esp32_4MB_V4_max_base.build_flags}
783781 ; -D WLED_DISABLE_INFRARED ;RAM 136 bytes; FLASH 24492 bytes
784782; lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
785783
786- ; esp32_16MB_max: bin entry compiled with ESP-IDF 4.4.1, uses esp32_4MB_V4_max_base and adds 16MB settings
784+ ; compiled with ESP-IDF 4.4.1
787785[env:esp32_16MB_V4_max]
788- extends = esp32_4MB_V4_max_base
789- board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
790- board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
786+ extends = esp32_4MB_V4_max_base, Board_ESP32_16MB
791787build_flags = ${esp32_4MB_V4_max_base.build_flags}
792- -D WLED_RELEASE_NAME =esp32_16MB_V4_max ; This will be included in the firmware.bin filename
788+ -D WLED_RELEASE_NAME =esp32_16MB_V4_max
793789 -D WLED_WATCHDOG_TIMEOUT =0 # -D WLED_DISABLE_BROWNOUT_DET
794790 -D ARDUINO_USB_CDC_ON_BOOT =0 ; needed for arduino-esp32 >=2.0.4; avoids errors on startup
795791 ; RAM: [== ] 24.8% (used 81316 bytes from 327680 bytes)
796792 ; Flash: [======= ] 72.9% (used 1528253 bytes from 2097152 bytes)
797793
798794; ; experimental environment for boards with PSRAM (needs ESP-IDF 4.4.1).
799- ; esp32_4MB_PSRAM_max: bin entry, uses esp32_4MB_V4_max_base and adds specific settings
800795[env:esp32_4MB_PSRAM_max]
801796extends = esp32_4MB_V4_max_base
802797board = lolin_d32_pro
@@ -821,7 +816,6 @@ build_flags = ${esp32_4MB_V4_max_base.build_flags}
821816 ; -D SR_DEBUG
822817 ; -D MIC_LOGGER
823818
824- ; esp32S3_8MB_max: bin entry, uses esp32_4MB_V4_max_base and adds specific settings. Override of lib_deps using lib_deps_min and lib_deps_max
825819[env:esp32S3_8MB_max]
826820extends = esp32_4MB_V4_max_base
827821board = esp32-s3-devkitc-1
@@ -889,71 +883,65 @@ build_flags = ${esp32_4MB_max_base.build_flags}
889883 -D HW_PIN_SCL =22 -D HW_PIN_SDA =21
890884 ; -D ENCODER_DT_PIN=18 -D ENCODER_CLK_PIN=5 -D ENCODER_SW_PIN=19
891885 ; -D WLED_USE_MY_CONFIG
892- ; -D WLED_DISABLE_LOXONE
893- ; -D WLED_DISABLE_ALEXA
894- ; -D WLED_DISABLE_HUESYNC
895- ; -D WLED_DISABLE_MQTT
896- ; -D WLED_DISABLE_INFRARED
897- ; -D WLED_ENABLE_DMX
898886
899887[env:wemos_shield_esp32_4MB_max]
900888extends = wemos_shield_esp32_4MB_max_base
901889build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
902- -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_max ; This will be included in the firmware.bin filename
890+ -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_max
903891; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
904892; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes)
905893
906894[env:wemos_shield_esp32_4MB_ICS4343x_max]
907895extends = wemos_shield_esp32_4MB_max_base
908- build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
909- -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_ICS4343x_max ; This will be included in the firmware.bin filename
910- -D SR_DMTYPE =1 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =14 ; for regular I2S microphone
911- -D SR_SQUELCH =10 -D SR_GAIN =30 -D SR_FREQ_PROF =5 ; ICS-43434 specific
896+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_ICS4343x.build_flags}
897+ -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_ICS4343x_max
912898; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
913899; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes)
914900
915901[env:wemos_shield_esp32_4MB_SPM1423_max]
916902extends = wemos_shield_esp32_4MB_max_base
917- build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
918- -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_SPM1423_max ; This will be included in the firmware.bin filename
919- -D SR_DMTYPE =5 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =-1 ; for I2S PDM microphone
920- -D SR_SQUELCH =3 -D SR_GAIN =75 -D SR_FREQ_PROF =7 ; SPM1423 specific
903+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_SPM1423.build_flags}
904+ -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_SPM1423_max
921905; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
922906; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes)
923907
924908[env:wemos_shield_esp32_4MB_LineIn_max]
925909extends = wemos_shield_esp32_4MB_max_base
926- build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
927- -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_LineIn_max ; This will be included in the firmware.bin filename
928- -D SR_DMTYPE =4 -D MCLK_PIN =0 -D I2S_SDPIN =25 -D I2S_WSPIN =15 -D I2S_CKPIN =14 ; for audio Line-In shield
929- -D SR_SQUELCH =2 -D SR_GAIN =40 -D SR_FREQ_PROF =1 ; CS5343 Line-In specific
910+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_LineIn.build_flags}
911+ -D WLED_RELEASE_NAME =wemos_shield_esp32_4MB_LineIn_max
930912
931913[env:wemos_shield_esp32_16MB_max]
932- extends = wemos_shield_esp32_4MB_max_base
933- board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
934- board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
914+ extends = wemos_shield_esp32_4MB_max_base, Board_ESP32_16MB
935915build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
936- -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_max ; This will be included in the firmware.bin filename
916+ -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_max
937917; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
938918; Flash: [======= ] 66.4% (used 1393421 bytes from 2097152 bytes)
939919
920+ [env:wemos_shield_esp32_16MB_ICS4343x_max]
921+ extends = wemos_shield_esp32_4MB_max_base, Board_ESP32_16MB
922+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_ICS4343x.build_flags}
923+ -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_ICS4343x_max
924+ ; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
925+ ; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes)
926+
940927[env:wemos_shield_esp32_16MB_SPM1423_max]
941- extends = wemos_shield_esp32_4MB_max_base
942- board = esp32_twilord ; "TwilightLord" ESP32 with 16MB Flash
943- board_build.partitions = tools/WLED_ESP32_16MB.csv ; for esp32_twilord with 16MB flash
944- build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags}
945- -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_SPM1423_max ; This will be included in the firmware.bin filename
946- -D SR_DMTYPE =5 -D I2S_SDPIN =32 -D I2S_WSPIN =15 -D I2S_CKPIN =-1 ; for I2S PDM microphone
947- -D SR_SQUELCH =3 -D SR_GAIN =75 -D SR_FREQ_PROF =7 ; SPM1423 specific
928+ extends = wemos_shield_esp32_4MB_max_base, Board_ESP32_16MB
929+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_SPM1423.build_flags}
930+ -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_SPM1423_max
948931; RAM: [== ] 24.4% (used 79820 bytes from 327680 bytes)
949932; Flash: [========= ] 88.6% (used 1393421 bytes from 1572864 bytes)
950933
934+ [env:wemos_shield_esp32_16MB_LineIn_max]
935+ extends = wemos_shield_esp32_4MB_max_base, Board_ESP32_16MB
936+ build_flags = ${wemos_shield_esp32_4MB_max_base.build_flags} ${Shield_LineIn.build_flags}
937+ -D WLED_RELEASE_NAME =wemos_shield_esp32_16MB_LineIn_max
938+
951939; ESP32 WLED pico board with builtin ICS-43432 microphpone
952940[env:esp32_pico_4MB_max]
953941extends = esp32_4MB_max_base
954942board = pico32
955943build_flags = ${esp32_4MB_max_base.build_flags}
956- -D WLED_RELEASE_NAME =esp32_pico_4MB_max ; This will be included in the firmware.bin filename
944+ -D WLED_RELEASE_NAME =esp32_pico_4MB_max
957945 -D WLED_DISABLE_BROWNOUT_DET
958946 -D SERVERNAME =' "WLED-pico32"'
959947 ; -D WLED_WATCHDOG_TIMEOUT=60
0 commit comments