Fix compilation of esp32S3_8MB_max and esp32s2_tinyUF2_PSRAM_max

Using lib_deps_V4_max entry
This commit is contained in:
Ewoud
2023-01-08 11:27:29 +01:00
parent bfa06df47c
commit ed815beabf
2 changed files with 36 additions and 34 deletions

View File

@@ -39,25 +39,23 @@
; MoonModules entries
; ===================
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
; default_envs = esp32_4MB_min
; default_envs = esp32_4MB_max ; recommended default
; default_envs = esp32_16MB_max
; default_envs = esp8266_4MB_min
; default_envs = esp32_4MB_V4_min
; default_envs = esp32_4MB_V4_max
; default_envs = esp32_16MB_V4_max
; default_envs = esp32_4MB_PSRAM_max
; default_envs = esp32S3_8MB_max
; default_envs = wemos_shield_esp32_4MB_max
; default_envs = wemos_shield_esp32_4MB_ICS4343x_max
; default_envs = wemos_shield_esp32_4MB_SPM1423_max
; default_envs = wemos_shield_esp32_4MB_LineIn_max
; default_envs = wemos_shield_esp32_16MB_max
; default_envs = wemos_shield_esp32_16MB_ICS4343x_max
; default_envs = wemos_shield_esp32_16MB_SPM1423_max
; default_envs = wemos_shield_esp32_16MB_LineIn_max
; default_envs = esp32_pico_4MB_max
default_envs =
esp32_4MB_min
esp32_4MB_max ; recommended default
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
esp32s2_tinyUF2_PSRAM_max
src_dir = ./wled00
@@ -640,17 +638,27 @@ build_flags_max =
-D USERMOD_BATTERY_USE_LIPO ;; use new "decharging curve" for LiPo cells
-D USERMOD_BH1750
-D USERMOD_ANIMATED_STAIRCASE
; -D USERMOD_RTC ;; experimental
; -D USERMOD_SENSORSTOMQTT ;; experimental
lib_deps_max =
OneWire@~2.3.5 ; used for USERMOD_FOUR_LINE_DISPLAY and USERMOD_DALLASTEMPERATURE
olikraus/U8g2 @ ^2.28.8 ; used for USERMOD_FOUR_LINE_DISPLAY
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
claws/BH1750 @^1.2.0 ; used for USERMOD_BH1750
; adafruit/Adafruit BMP280 Library @ 2.1.0 ;; experimental for usermod USERMOD_SENSORSTOMQTT
; adafruit/Adafruit CCS811 Library @ 1.0.4 ;; experimental for usermod USERMOD_SENSORSTOMQTT
; adafruit/Adafruit Si7021 Library @ 1.4.0 ;; experimental for usermod USERMOD_SENSORSTOMQTT
lib_deps_V4_max =
paulstoffregen/OneWire@ ^2.3.7 ; used for USERMOD_DALLASTEMPERATURE -> need newer release with bugfixes for -S3; still requires TEMPERATURE_PIN < 46
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
claws/BH1750 @^1.2.0 ; used for USERMOD_BH1750
build_flags_all =
-D USERMOD_RTC ;; experimental
-D USERMOD_SENSORSTOMQTT ;; experimental
lib_deps_all =
adafruit/Adafruit BMP280 Library @ 2.1.0 ;; experimental for usermod USERMOD_SENSORSTOMQTT
adafruit/Adafruit CCS811 Library @ 1.0.4 ;; experimental for usermod USERMOD_SENSORSTOMQTT
adafruit/Adafruit Si7021 Library @ 1.4.0 ;; experimental for usermod USERMOD_SENSORSTOMQTT
; end of common
@@ -884,10 +892,7 @@ build_flags = ${esp32_4MB_V4_max_base.build_flags}
; -D WLED_DEBUG
; -D SR_DEBUG
; -D MIC_LOGGER
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_min}
paulstoffregen/OneWire@ ^2.3.7 ; used for USERMOD_DALLASTEMPERATURE -> need newer release with bugfixes for -S3; still requires TEMPERATURE_PIN < 46
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
lib_deps = ${esp32s3.lib_deps} ${common_mm.lib_deps_min} ${common_mm.lib_deps_V4_max}
;lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
board_build.partitions = tools/WLED_ESP32_8MB.csv
board_build.flash_mode = qio
@@ -895,7 +900,7 @@ board_build.flash_mode = qio
; Flash: [======= ] 66.9% (used 1403489 bytes from 2097152 bytes)
;; MM max for Adafruit QT Py ESP32-S2 -> 4MB flash, PSRAM, and tinyUF2 bootloader
;; to ewowi - i'll optimize this entry later, as a few things can be inherited for sure
;; to ewowi - i'll optimize this entry later, as a few things can be inherited for sure. To softhack: sure ;-)
[env:esp32s2_tinyUF2_PSRAM_max]
extends = esp32_4MB_V4_min_base
platform = ${esp32.platformV4}
@@ -946,10 +951,7 @@ build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${esp32s2.build_flags
; -D WLED_DEBUG
; -D SR_DEBUG
; -D MIC_LOGGER
lib_deps = ${env.lib_deps} ${esp32s2.lib_deps} ${common_mm.lib_deps_min} ${common_mm.lib_deps_max}
paulstoffregen/OneWire@ ^2.3.7 ; used for USERMOD_DALLASTEMPERATURE -> need newer release with bugfixes for -S3; still requires TEMPERATURE_PIN < 46
olikraus/U8g2@ ^2.34.5 ; used for USERMOD_FOUR_LINE_DISPLAY -> need newer version with bugfixes for arduino-esp32 v2.0.4 (Wire inititialization)
ElectronicCats/MPU6050 @ 0.6.0 ; used for USERMOD_MPU6050_IMU
lib_deps = ${env.lib_deps} ${esp32s2.lib_deps} ${common_mm.lib_deps_min} ${common_mm.lib_deps_V4_max}
lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compilation
monitor_filters = esp32_exception_decoder
; RAM: [=== ] 25.6% (used 83796 bytes from 327680 bytes)

View File

@@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2301080
#define VERSION 2301081
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG