Skip to content

Commit e269098

Browse files
CYFS3Rbb666
authored andcommitted
fix:nxp pwm kconfig
1 parent 71fe884 commit e269098

File tree

2 files changed

+19
-29
lines changed

2 files changed

+19
-29
lines changed

bsp/nxp/mcx/mcxa/frdm-mcxa153/board/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ menu "On-chip Peripheral Drivers"
131131
config BSP_USING_PWM0
132132
bool "Enable eFlex PWM0"
133133
default n
134-
config BSP_USING_PWM1
134+
config BSP_USING_PWM1
135135
bool "Enable eFlex PWM1"
136136
default n
137-
config BSP_USING_PWM2
137+
config BSP_USING_PWM2
138138
bool "Enable eFlex PWM2"
139139
default n
140140
endif

bsp/nxp/mcx/mcxa/frdm-mcxa156/board/Kconfig

+17-27
Original file line numberDiff line numberDiff line change
@@ -132,33 +132,23 @@ menu "On-chip Peripheral Drivers"
132132
default n
133133
endif
134134

135-
menuconfig BSP_USING_PWM
136-
config BSP_USING_PWM
137-
bool "Enable PWM"
138-
select RT_USING_PWM
139-
default y
140-
141-
if BSP_USING_PWM
142-
config BSP_USING_CTIMER1_MAT0
143-
bool "Enable CIMER1 Match0 as PWM output"
144-
default y
145-
146-
config BSP_USING_CTIMER2_MAT0
147-
bool "Enable CIMER2 Match0 as PWM output"
148-
default n
149-
150-
config BSP_USING_CTIMER2_MAT1
151-
bool "Enable CIMER2 Match1 as PWM output"
152-
default n
153-
154-
config BSP_USING_CTIMER2_MAT2
155-
bool "Enable CIMER2 Match2 as PWM output"
156-
default n
157-
158-
config BSP_USING_CTIMER3_MAT2
159-
bool "Enable CIMER3 Match2 as PWM output"
160-
default n
161-
endif
135+
menuconfig BSP_USING_PWM
136+
config BSP_USING_PWM
137+
bool "Enable PWM"
138+
select RT_USING_PWM
139+
default n
140+
141+
if BSP_USING_PWM
142+
config BSP_USING_PWM0
143+
bool "Enable eFlex PWM0"
144+
default n
145+
config BSP_USING_PWM1
146+
bool "Enable eFlex PWM1"
147+
default n
148+
config BSP_USING_PWM2
149+
bool "Enable eFlex PWM2"
150+
default n
151+
endif
162152
endmenu
163153

164154

0 commit comments

Comments
 (0)