fix:nxp pwm kconfig

This commit is contained in:
CYFS 2025-03-01 15:34:20 +08:00 committed by Rbb666
parent 84b5b2f408
commit bb5be4d19a
2 changed files with 19 additions and 29 deletions

View File

@ -136,27 +136,17 @@ menu "On-chip Peripheral Drivers"
config BSP_USING_PWM
bool "Enable PWM"
select RT_USING_PWM
default y
default n
if BSP_USING_PWM
config BSP_USING_CTIMER1_MAT0
bool "Enable CIMER1 Match0 as PWM output"
default y
config BSP_USING_CTIMER2_MAT0
bool "Enable CIMER2 Match0 as PWM output"
config BSP_USING_PWM0
bool "Enable eFlex PWM0"
default n
config BSP_USING_CTIMER2_MAT1
bool "Enable CIMER2 Match1 as PWM output"
config BSP_USING_PWM1
bool "Enable eFlex PWM1"
default n
config BSP_USING_CTIMER2_MAT2
bool "Enable CIMER2 Match2 as PWM output"
default n
config BSP_USING_CTIMER3_MAT2
bool "Enable CIMER3 Match2 as PWM output"
config BSP_USING_PWM2
bool "Enable eFlex PWM2"
default n
endif
endmenu