Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions platforms/platformio.esp32c5.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@
; https://docs.platformio.org/page/projectconf.html

[env:esp32c5]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.30-2/platform-espressif32.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board = esp32-c5-devkitc-1
framework = arduino

; PARLIO ISR flags: only set on chips with the PARLIO peripheral (C5/C6/H2/P4).
; Without these the FastLED PARLIO TX ISR sits in flash and takes cache-miss
; stalls during execution, silently corrupting LED protocol timing.
; See FastLED src/platforms/esp/32/drivers/parlio/ for the canonical chipset list.
build_flags =
-DCONFIG_PARLIO_TX_ISR_HANDLER_IN_IRAM=1
-DCONFIG_PARLIO_TX_ISR_CACHE_SAFE=1

lib_deps =
FastLED
FastLED
15 changes: 9 additions & 6 deletions platforms/platformio.esp32c6.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@


[env:esp32c6] ; the esp32c6 part can be renamed to anything you want.
; Note that this special platform override is used to bring in the
; idf5.1 toolchain that is now included in Arduino 2.3.1+, and may
; not be necessary in the near future.
platform = https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
framework = arduino
; This is a popular ESP32-S3 board.
board = esp32-c6-devkitc-1
board_build.partitions = huge_app.csv

upload_protocol = esptool
monitor_speed = 115200
Expand All @@ -29,8 +26,14 @@ monitor_filters =
default
esp32_exception_decoder

; ---- CRITICAL: enable USB CDC serial ----
; PARLIO ISR flags: only set on chips with the PARLIO peripheral (C5/C6/H2/P4).
; Without these the FastLED PARLIO TX ISR sits in flash and takes cache-miss
; stalls during execution, silently corrupting LED protocol timing.
; See FastLED src/platforms/esp/32/drivers/parlio/ for the canonical chipset list.
build_flags =
-DCONFIG_PARLIO_TX_ISR_HANDLER_IN_IRAM=1
-DCONFIG_PARLIO_TX_ISR_CACHE_SAFE=1
; ---- CRITICAL: enable USB CDC serial ----
-D ARDUINO_USB_CDC_ON_BOOT=1
-D ARDUINO_USB_MODE=1

Expand Down
12 changes: 10 additions & 2 deletions platforms/platformio.esp32h2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@
; https://docs.platformio.org/page/projectconf.html

[env:esp32h2]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.10/platform-espressif32.zip
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board = esp32-h2-devkitm-1
framework = arduino

; PARLIO ISR flags: only set on chips with the PARLIO peripheral (C5/C6/H2/P4).
; Without these the FastLED PARLIO TX ISR sits in flash and takes cache-miss
; stalls during execution, silently corrupting LED protocol timing.
; See FastLED src/platforms/esp/32/drivers/parlio/ for the canonical chipset list.
build_flags =
-DCONFIG_PARLIO_TX_ISR_HANDLER_IN_IRAM=1
-DCONFIG_PARLIO_TX_ISR_CACHE_SAFE=1

lib_deps =
FastLED
FastLED
27 changes: 27 additions & 0 deletions platforms/platformio.esp32p4.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:esp32p4]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip
board = esp32-p4-evboard
framework = arduino
board_build.partitions = huge_app.csv

; PARLIO ISR flags: only set on chips with the PARLIO peripheral (C5/C6/H2/P4).
; Without these the FastLED PARLIO TX ISR sits in flash and takes cache-miss
; stalls during execution, silently corrupting LED protocol timing.
; See FastLED src/platforms/esp/32/drivers/parlio/ for the canonical chipset list.
build_flags =
-DCONFIG_PARLIO_TX_ISR_HANDLER_IN_IRAM=1
-DCONFIG_PARLIO_TX_ISR_CACHE_SAFE=1
-DARDUINO_USB_MODE=1

lib_deps =
FastLED
Loading