diff --git a/platformio.ini b/platformio.ini index 3c1ed914..d089ec21 100644 --- a/platformio.ini +++ b/platformio.ini @@ -305,7 +305,7 @@ build_flags = -g lib_deps = ${env.lib_deps} - makuna/NeoPixelBus @ 2.6.9 + makuna/NeoPixelBus @ 2.7.1 ;; WLEDMM - new version is more stable on -C3 https://github.com/pbolduc/AsyncTCP.git @ 1.2.0 [esp32s3] @@ -1027,6 +1027,47 @@ monitor_filters = esp32_exception_decoder ; RAM: [=== ] 25.6% (used 83796 bytes from 327680 bytes) ; Flash: [==========] 97.7% (used 1408626 bytes from 1441792 bytes) +;; MM max config for ESP32-C3 -> 4MB flash, no PSRAM +;; to ewowi - i'll optimize this entry later ;-) really, I mean +[env:esp32c3dev_4MB_max] +extends = esp32_4MB_V4_min_base +;platform = ${esp32.platformV4} +;platform_packages = ${esp32.platformV4_packages} +platform = espressif32@~5.2.0 ;; alternative platform, might help in case you experience bootloops due to corrupted flash filesystem +platform_packages = +board = esp32-c3-devkitm-1 +upload_speed = 256000 ;; 921600 + +build_unflags = ${common.build_unflags} + -D USERMOD_DALLASTEMPERATURE ;; disabled because it hangs during usermod setup on -S2 (autodetect broken?) + -D USE_ALT_DISPLAY ;; four line display seems to have problems with I2C - it hangs during usermod setup + -D USERMOD_FOUR_LINE_DISPLAY ;; see above + -D USERMOD_ROTARY_ENCODER_UI ;; see above + -D WLED_ENABLE_DMX ;; disabled because it does not work with ESP-IDF 4.4.x (buggy driver in SparkFunDMX) + +build_flags = ${common.build_flags} ${esp32.build_flagsV4} ${esp32c3.build_flags} + -D WLED_WATCHDOG_TIMEOUT=0 -D CONFIG_ASYNC_TCP_USE_WDT=0 + ${common_mm.build_flags_min} ${common_mm.build_flags_max} + -Wno-misleading-indentation -Wno-format-truncation + -D WLED_RELEASE_NAME=esp32c3dev_4MB_max + ; -DARDUINO_USB_CDC_ON_BOOT=1 ;; enable CDC USB -> needed for debugging over serial USB + -D SERVERNAME='"WLED-C3"' + ;-D WLED_DISABLE_INFRARED ;; save flash space + ;-D WLED_DISABLE_ALEXA ;; save flash space + -D LEDPIN=8 ;; onboard neopixel 5x5 Matrix. Attach your own LEDs to GPIO 20 + -D BTNPIN=9 + -D STATUSLED=10 ;; onboard LED + ;-D RLYPIN=3 + ;-D IRPIN=2 + ;-D HW_PIN_SCL=1 ;; for I2C Qwiic connector + ;-D HW_PIN_SDA=0 ;; for I2C Qwiic connector + -D SR_DMTYPE=1 -D I2S_SDPIN=5 -D I2S_WSPIN=6 -D I2S_CKPIN=4 -D MCLK_PIN=7 + -D WLED_USE_MY_CONFIG + +lib_deps = ${env.lib_deps} ${esp32c3.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 + # ------------------------------------------------------------------------------ # custom board configurations # ------------------------------------------------------------------------------ diff --git a/wled00/wled.h b/wled00/wled.h index b0c1527a..3e86e0ad 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -8,7 +8,7 @@ */ // version code in format yymmddb (b = daily build) -#define VERSION 2301141 +#define VERSION 2301142 //uncomment this if you have a "my_config.h" file you'd like to use //#define WLED_USE_MY_CONFIG