-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Description
Describe the bug
Documentation issue as described below
To Reproduce
- Read the docs
Expected behavior
- If following docs,
ledc0_defaultis in the boards dtsi file.
Impact
- Confusion. Creates error in overlay file if one assumes
ledc0_defaultexists in dtsi.
Logs and console output
- Not applicable.
Environment (please complete the following information):
- OS: Linux
- Toolchain: Zephyr SDK (latest)
- Zephyr (latest): 4.1
- Documentation online version (latest) 4.1
Additional context
I am using a XIAO ESP32C6 board.
I am attempting to get the basic blink_pwm example to work on this board (have it working, sort of).
To help me figure this out, I am working through the documentation and noticed an incongruency that caused me confusion.
As per the XIAO ESP32C6 product page, PWM is available for an LED: ESP32 LED Control (LEDC), which is compatible with: espressif,esp32-ledc
According to espressif,esp32-ledc documentation page (and is also stated in the espressif,esp32.yaml file), the ledc0_default should be defined in the board's dtsi file.
This is not the case.
Please review and consider correcting this text.