ledc: Support gamma curve fade feature on esp32c6 and esp32h2

This commit is contained in:
Song Ruo Jing
2023-02-23 11:24:48 +08:00
parent 8fc0343e5a
commit 79f34fe524
32 changed files with 1093 additions and 58 deletions

View File

@@ -499,10 +499,6 @@ config SOC_LEDC_SUPPORT_FADE_STOP
bool
default y
config SOC_LEDC_GAMMA_FADE_RANGE_MAX
int
default 1
config SOC_MCPWM_GROUPS
int
default 2

View File

@@ -205,7 +205,6 @@
#define SOC_LEDC_CHANNEL_NUM (8)
#define SOC_LEDC_TIMER_BIT_WIDTH (14)
#define SOC_LEDC_SUPPORT_FADE_STOP (1)
#define SOC_LEDC_GAMMA_FADE_RANGE_MAX (1U) // The target does not support gamma curve fading
/*-------------------------- MCPWM CAPS --------------------------------------*/
#define SOC_MCPWM_GROUPS (2) ///< 2 MCPWM groups on the chip (i.e., the number of independent MCPWM peripherals)