Feature/esp32 arduino 3x #2

Manually merged
adebaumann merged 0 commits from feature/esp32-arduino-3x into main 2026-07-05 21:27:09 +00:00
Owner
No description provided.
adebaumann added 3 commits 2026-07-05 21:20:18 +00:00
The registry espressif32 platform still ships Arduino core 2.0.17, which
lacks ESP32-C6 support. Switch every ESP32 env to the pioarduino fork
(Arduino-ESP32 3.x) via a shared ${common.platform_esp32} variable and
consolidate shared settings into [env].

Rewrite the PWM code for the 3.x LEDC API:
- ledcSetup + ledcAttachPin -> ledcAttach(pin, freq, res)
- ledcDetachPin -> ledcDetach
- ledcWrite now addresses PWM by pin instead of channel index

Adds the esp32-c6-devkitc-1 env; all four ESP32 envs build clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
adebaumann manually merged commit 558a12340a into main 2026-07-05 21:27:09 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adebaumann/M1730-ESP32#2