Skip to content

Commit

Permalink
lots of bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DedeHai committed Feb 17, 2024
1 parent b96ad99 commit 32979e5
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 74 deletions.
30 changes: 16 additions & 14 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

# CI/release binaries
;default_envs = nodemcuv2, esp8266_2m, esp01_1m_full, esp32dev, esp32_eth, esp32dev_audioreactive, lolin_s2_mini, esp32c3dev, esp32s3dev_8MB, esp32s3dev_8MB_PSRAM_opi, esp32_wrover
default_envs = esp32c3dev

;default_envs = esp32c3dev
;default_envs = esp32dev_audioreactive
src_dir = ./wled00
data_dir = ./wled00/data
build_cache_dir = ~/.buildcache
extra_configs =
platformio_override.ini
extra_configs = platformio_override.ini

[common]
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -173,7 +172,7 @@ lib_deps =
# SHT85
;robtillaart/SHT85@~0.3.3
# Audioreactive usermod
;https://github.com/kosme/arduinoFFT#develop @ ^1.9.2
https://github.com/kosme/arduinoFFT#develop @ ^1.9.2

extra_scripts = ${scripts_defaults.extra_scripts}

Expand Down Expand Up @@ -394,7 +393,7 @@ build_flags = ${common.build_flags} ${esp32c3.build_flags} -D WLED_RELEASE_NAME=
-DLOLIN_WIFI_FIX ; seems to work much better with this
-DARDUINO_USB_CDC_ON_BOOT=1 ;; for virtual CDC USB
;-DARDUINO_USB_CDC_ON_BOOT=0 ;; for serial-to-USB chip
upload_speed = 460800
upload_speed = 460800 ; 115200 230400 460800
build_unflags = ${common.build_unflags}
lib_deps = ${esp32c3.lib_deps}

Expand All @@ -403,19 +402,22 @@ lib_deps = ${esp32c3.lib_deps}
board = esp32-s3-devkitc-1
platform = ${esp32s3.platform}
platform_packages = ${esp32s3.platform_packages}
upload_speed = 921600 ; or 460800
upload_speed = 115200 ; 230400 ;460800
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags} ${esp32s3.build_flags} -D WLED_RELEASE_NAME=ESP32-S3_8MB
-D CONFIG_LITTLEFS_FOR_IDF_3_2 -D WLED_WATCHDOG_TIMEOUT=0
-D ARDUINO_USB_CDC_ON_BOOT=0 ;; -D ARDUINO_USB_MODE=1 ;; for boards with serial-to-USB chip
;-D ARDUINO_USB_CDC_ON_BOOT=1 ;; -D ARDUINO_USB_MODE=1 ;; for boards with USB-OTG connector only (USBCDC or "TinyUSB")
;-D WLED_DEBUG
lib_deps = ${esp32s3.lib_deps}
board_build.partitions = tools/WLED_ESP32_8MB.csv
board_build.f_flash = 80000000L
board_build.flash_mode = qio
; board_build.flash_mode = dio ;; try this if you have problems at startup
monitor_filters = esp32_exception_decoder
-D WLED_DEBUG
-D USERMOD_AUDIOREACTIVE -D UM_AUDIOREACTIVE_USE_NEW_FFT # additional build flags for audioreactive
lib_deps = ${esp32s3.lib_deps}
https://github.com/kosme/arduinoFFT#develop @ 1.9.2+sha.419d7b0 ;; used for USERMOD_AUDIOREACTIVE - using "known working" hash
;board_build.partitions = tools/WLED_ESP32_8MB.csv
board_build.partitions = tools/WLED_ESP32_4MB_1MB_FS.csv
;board_build.f_flash = 80000000L
;board_build.flash_mode = qio
board_build.flash_mode = dio ;; try this if you have problems at startup
;monitor_filters = esp32_exception_decoder

[env:esp32s3dev_8MB_PSRAM_opi]
;; ESP32-S3 development board, with 8MB FLASH and >= 8MB PSRAM (memory_type: qio_opi)
Expand Down
Loading

0 comments on commit 32979e5

Please sign in to comment.