Skip to content

Commit

Permalink
upgrade to arduino 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
softhack007 committed Jul 19, 2024
1 parent dc0371f commit 5e160b8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,12 @@ lib_deps =

[esp32c6]
;; generic definitions for all ESP32-C6 boards
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.10/platform-espressif32.zip
;;platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.06.10/platform-espressif32.zip
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.07.11/platform-espressif32.zip
;;platform_packages =
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.1
framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.1/esp32-arduino-libs-3.0.1.zip
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.3
framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.3/esp32-arduino-libs-3.0.3.zip

board = esp32-c6-devkitm-1
build_flags = -g
Expand All @@ -464,10 +465,11 @@ build_flags = -g
-DCONFIG_IDF_TARGET_ESP32C6=1
-D CONFIG_ASYNC_TCP_USE_WDT=0
-DCO
-DFASTLED_NO_FASTLED ;; disable the global "FastLED" object (avoids crash at startup)
-DESP32_ARDUINO_NO_RGB_BUILTIN ;; avoids RMT driver abort on startup "E (98) rmt(legacy): CONFLICT! driver_ng is not allowed to be used with the legacy driver"
-DARDUINO_USB_MODE=1 ;; this flag is mandatory for ESP32-C3
;; please make sure that the following flags are properly set (to 0 or 1) by your board.json, or included in your custom platformio_override.ini entry:
;; ARDUINO_USB_CDC_ON_BOOT
-DFASTLED_NO_FASTLED ;; disable the global "FastLED" object (avoids crash at startup)
lib_deps =
;;https://github.com/pbolduc/AsyncTCP.git @ 1.2.0
https://github.com/softhack007/AsyncTCP.git#ESP32-C6 ;; patched version needed for -C6
Expand All @@ -488,7 +490,7 @@ build_unflags = ${common.build_unflags}
;; -D CORE_DEBUG_LEVEL=0
;; -D NDEBUG
build_flags = ${common.build_flags} ${esp32c6.build_flags} -D WLED_RELEASE_NAME=ESP32-C6_8MB
;; -Wno-volatile ;; -Wno-deprecated-declarations ;; silence compiler warnings
-Wno-volatile ;; -Wno-deprecated-declarations ;; silence compiler warnings
;; -Wno-cpp ;; silence '#pragma warning' messages
;; -D DEBUG -g3 -ggdb
;; -D CORE_DEBUG_LEVEL=4
Expand Down

0 comments on commit 5e160b8

Please sign in to comment.