mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(ci): re-enable some LEDC/UART tests for H4, S31
This commit is contained in:
@@ -14,19 +14,24 @@ This example shows how to control intensity of LEDs using selected SoC's on-boar
|
||||
* A development board with any Espressif SoC (e.g., ESP32-DevKitC, ESP-WROVER-KIT, etc.)
|
||||
* A USB cable for power supply and programming
|
||||
|
||||
Connect four LEDs to the following LEDC channels / individual GPIOs:
|
||||
Connect four LEDs to the following LEDC channels / individual GPIOs (defaults):
|
||||
|
||||
| | Channel 0 | Channel 1 | Channel 2 | Channel 3 |
|
||||
| --------------- | --------- | --------- | --------- | --------- |
|
||||
| ESP32 | GPIO18 | GPIO19 | GPIO4 | GPIO5 |
|
||||
| ESP32 | GPIO18 | GPIO19 | GPIO4 | GPIO5 |
|
||||
| ESP32-H4 | GPIO18 | GPIO19 | GPIO2 | GPIO3 |
|
||||
| All other chips | GPIO8 | GPIO9 | GPIO2 | GPIO3 |
|
||||
|
||||
The GPIO numbers can be changed in menuconfig under `Example Configuration`.
|
||||
|
||||
### Configure the project
|
||||
|
||||
```
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
- `Example Configuration` → select GPIO numbers for LEDC channel 0–3
|
||||
|
||||
### Build and Flash
|
||||
|
||||
Build the project and flash it to the board, then run the monitor tool to view the serial output:
|
||||
|
||||
Reference in New Issue
Block a user