mirror of https://github.com/RT-Thread/rt-thread
fix:nxp pwm kconfig
This commit is contained in:
parent
84b5b2f408
commit
bb5be4d19a
|
@ -131,10 +131,10 @@ menu "On-chip Peripheral Drivers"
|
||||||
config BSP_USING_PWM0
|
config BSP_USING_PWM0
|
||||||
bool "Enable eFlex PWM0"
|
bool "Enable eFlex PWM0"
|
||||||
default n
|
default n
|
||||||
config BSP_USING_PWM1
|
config BSP_USING_PWM1
|
||||||
bool "Enable eFlex PWM1"
|
bool "Enable eFlex PWM1"
|
||||||
default n
|
default n
|
||||||
config BSP_USING_PWM2
|
config BSP_USING_PWM2
|
||||||
bool "Enable eFlex PWM2"
|
bool "Enable eFlex PWM2"
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -132,33 +132,23 @@ menu "On-chip Peripheral Drivers"
|
||||||
default n
|
default n
|
||||||
endif
|
endif
|
||||||
|
|
||||||
menuconfig BSP_USING_PWM
|
menuconfig BSP_USING_PWM
|
||||||
config BSP_USING_PWM
|
config BSP_USING_PWM
|
||||||
bool "Enable PWM"
|
bool "Enable PWM"
|
||||||
select RT_USING_PWM
|
select RT_USING_PWM
|
||||||
default y
|
default n
|
||||||
|
|
||||||
if BSP_USING_PWM
|
if BSP_USING_PWM
|
||||||
config BSP_USING_CTIMER1_MAT0
|
config BSP_USING_PWM0
|
||||||
bool "Enable CIMER1 Match0 as PWM output"
|
bool "Enable eFlex PWM0"
|
||||||
default y
|
default n
|
||||||
|
config BSP_USING_PWM1
|
||||||
config BSP_USING_CTIMER2_MAT0
|
bool "Enable eFlex PWM1"
|
||||||
bool "Enable CIMER2 Match0 as PWM output"
|
default n
|
||||||
default n
|
config BSP_USING_PWM2
|
||||||
|
bool "Enable eFlex PWM2"
|
||||||
config BSP_USING_CTIMER2_MAT1
|
default n
|
||||||
bool "Enable CIMER2 Match1 as PWM output"
|
endif
|
||||||
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"
|
|
||||||
default n
|
|
||||||
endif
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue