-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit 9a62f8e
committed
esp32/machine_pwm: Add features light_sleep_enable.
Performing a rebase and squash.
Enhancement of the PWM constructor by adding a new keywords:
light_sleep_enable.
Review the precision (of the duty parameter) determination by using
the ESP-IDF native function ledc_find_suitable_duty_resolution().
Add LEDC_USE_PLL_DIV_CLK clock source for ESP32-C6 support.
Reordering clock source list.
Fix some issue inside the PWM.deint(), particulary about the
deconfiguration of the timer.
esp32/machine_pwm: Fix ESP32 support.
Rewrite Hight Speed mode support for ESP32.
Use idf-esp native types instead of generic types.
Test on ESP32/S2/S3 => OK.
esp32/machine_pwm: Fix esp32-Cx compile error.
Removing useless error information.
esp32/machine_pwm: Review print out data.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Codeformat update.
Codeformat passed.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add constants clock defintion.
Add MP_ROM_QSTR(MP_QSTR_PWM_AUTO_CLK) etc... to have the
constant for clock source in the python PWM object.
extmod/machine_pwm: File has been updated to
use (optionaly) the MICROPY_PY_MACHINE_PWM_CLASS_CONSTANTS
define that should hold the constants.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Remove keyword clock.
Remove all thing related to the keyword clock in the PWM constructor.
Remove all constant PWM.PWM_* (clock source constants).
Fix some issue inside the PWM.deint(), particulary about the
deconfiguration of the timer.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add features light_sleep_enable and clock source.
Enhancement of the PWM constructor by adding two new keywords:
light_sleep_enable and clock.
Review the precision (of the duty parameter) determination by using
the ESP-IDF native function ledc_find_suitable_duty_resolution().
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add LEDC_USE_PLL_DIV_CLK clock source.
Add LEDC_USE_PLL_DIV_CLK clock source for ESP32-C6 support.
Reordering clock source list.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Codeformat update.
Codeformat passed.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add constants clock defintion.
Add MP_ROM_QSTR(MP_QSTR_PWM_AUTO_CLK) etc... to have the
constant for clock source in the python PWM object.
extmod/machine_pwm: File has been updated to
use (optionaly) the MICROPY_PY_MACHINE_PWM_CLASS_CONSTANTS
define that should hold the constants.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Remove keyword clock.
Remove all thing related to the keyword clock in the PWM constructor.
Remove all constant PWM.PWM_* (clock source constants).
Fix some issue inside the PWM.deint(), particulary about the
deconfiguration of the timer.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add features light_sleep_enable and clock source.
Enhancement of the PWM constructor by adding two new keywords:
light_sleep_enable and clock.
Review the precision (of the duty parameter) determination by using
the ESP-IDF native function ledc_find_suitable_duty_resolution().
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add LEDC_USE_PLL_DIV_CLK clock source.
Add LEDC_USE_PLL_DIV_CLK clock source for ESP32-C6 support.
Reordering clock source list.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Codeformat update.
Codeformat passed.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Add constants clock defintion.
Add MP_ROM_QSTR(MP_QSTR_PWM_AUTO_CLK) etc... to have the
constant for clock source in the python PWM object.
extmod/machine_pwm: File has been updated to
use (optionaly) the MICROPY_PY_MACHINE_PWM_CLASS_CONSTANTS
define that should hold the constants.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Remove keyword clock.
Remove all thing related to the keyword clock in the PWM constructor.
Remove all constant PWM.PWM_* (clock source constants).
Fix some issue inside the PWM.deint(), particulary about the
deconfiguration of the timer.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Rebase source code.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Fix ESP32 support.
Rewrite Hight Speed mode support for ESP32.
Use idf-esp native types instead of generic types.
Test on ESP32/S2/S3 => OK.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Fix esp32-Cx compile error.
Removing useless error information.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>
esp32/machine_pwm: Rebase and fix compile error.
Fix duplicate line.
Signed-off-by: Yoann Darche <yoannd@hotmail.com>1 parent df6b40a commit 9a62f8eCopy full SHA for 9a62f8e
1 file changed
+286
-78
lines changed
0 commit comments