Skip to content

Commit

Permalink
Update ESP32 with Arduino 3.0.0 and ESP32C6 for PlatformIO
Browse files Browse the repository at this point in the history
  • Loading branch information
unlogisch04 committed May 31, 2024
1 parent 4543ba4 commit 7ba11b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
30 changes: 6 additions & 24 deletions platformio-tools.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 2 additions & 8 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7ba11b9

Please sign in to comment.