IhorNehrutsa
1d158ddd10
fix(ledc): fix frequency calculation
...
ledc.c: Fix frequency calculation.
Round int instead of truncate.
Merges https://github.com/espressif/esp-idf/pull/11810
2023-07-11 15:22:34 +08:00
Song Ruo Jing
202b18b5fa
esp_clk_tree: Rename clk_tree_xxx to esp_clk_tree_xxx, add compilation warning to clk_tree.h
2023-04-27 11:11:18 +00:00
laokaiyao
954a6a2cff
esp32h4: removed esp32h4 related codes
2023-04-26 18:53:12 +08:00
Song Ruo Jing
5070e51dde
ledc: Fix two bugs inside LEDC driver
...
1. Regression introduced when refactoring on clock sources selection (0d07f859
).
If channel configuration is called before timer configuration on C6, PWM signal may not be able to output.
2. Missing the improper fade parameter fix inside ledc_set_duty_and_update() function.
2023-04-06 12:37:33 +08:00
Song Ruo Jing
79f34fe524
ledc: Support gamma curve fade feature on esp32c6 and esp32h2
2023-03-10 12:42:46 +08:00
Cao Sen Miao
fd3e0b0b18
esp32h2(ci): enable target test
2023-02-15 10:20:43 +08:00
Song Ruo Jing
ad55230b0a
ledc: Add support for esp32h2; Refactor ledc driver clock source selection related code
...
LEDC examples and test cases are supported on ESP32H2.
Switch to use general clock IDs for ledc_clk_cfg_t enum values.
Deprecate LEDC_USE_RTC8M_CLK.
2023-01-30 19:19:34 +08:00
Song Ruo Jing
774197b7d3
ledc: Move ledc unit test to test_apps pytest framework
...
Add ledc_hal_set_duty_start and ledc_hal_set_duty_int_part to IRAM
Fix test_ledc.c minor issues
2022-12-21 12:04:42 +08:00