From 7ba11b9b6cc549cdfc84309141750d0474b8e08d Mon Sep 17 00:00:00 2001 From: unlogisch04 <98281608+unlogisch04@users.noreply.github.com> Date: Sat, 1 Jun 2024 01:45:34 +0200 Subject: [PATCH] Update ESP32 with Arduino 3.0.0 and ESP32C6 for PlatformIO --- platformio-tools.ini | 30 ++++++------------------------ platformio.ini | 10 ++-------- 2 files changed, 8 insertions(+), 32 deletions(-) diff --git a/platformio-tools.ini b/platformio-tools.ini index 91535e7f2..e47902cf5 100644 --- a/platformio-tools.ini +++ b/platformio-tools.ini @@ -37,54 +37,36 @@ platform = espressif8266 @ 4.2.0 board = esp12e [env:BOARD_WROOM32] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 board = esp32dev [env:BOARD_ESP01] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 board = esp32dev [env:BOARD_LOLIN_C3_MINI] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 build_flags = ${env.build_flags} -DESP32C3 board = lolin_c3_mini [env:BOARD_BEETLE32C3] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 build_flags = ${env.build_flags} -DESP32C3 board = dfrobot_beetle_esp32c3 [env:BOARD_ES32C3DEVKITM1] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 build_flags = ${env.build_flags} -DESP32C3 board = esp32-c3-devkitm-1 [env:BOARD_XIAO_ESP32C3] -platform = espressif32 @ 6.5.0 -platform_packages = - platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 - platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +platform = https://github.com/tasmota/platform-espressif32#2024.05.13 build_flags = ${env.build_flags} -DESP32C3 diff --git a/platformio.ini b/platformio.ini index 5fd9284ce..6ff67fbc6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -80,10 +80,7 @@ upload_speed = 921600 ; Uncomment below if you want to build for esp32 ; Check your board name at https://docs.platformio.org/en/latest/platforms/espressif32.html#boards ; [env:esp32] -; platform = espressif32 @ 6.5.0 -; platform_packages = -; platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 -; platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +; platform = https://github.com/tasmota/platform-espressif32#2024.05.13 ; board = esp32dev ; Comment out this line below if you have any trouble uploading the firmware - and if it has a CP2102 on it (a square chip next to the usb port): change to 3000000 (3 million) for even faster upload speed ;upload_speed = 921600 @@ -98,10 +95,7 @@ upload_speed = 921600 ; -DARDUINO_USB_CDC_ON_BOOT=1 ;[env:esp32c3] -;platform = espressif32 @ 6.5.0 -;platform_packages = -; platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.0-alpha3 -; platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-libs.git#idf-release/v5.1 +;platform = https://github.com/tasmota/platform-espressif32#2024.05.13 ;build_flags = ; ${env.build_flags} ; -DESP32C3