diff --git a/bsp/stm32/stm32f103-yf-ufun/board/Kconfig b/bsp/stm32/stm32f103-yf-ufun/board/Kconfig index 0265de83c758409180d79e5d731b764df93e8652..6f81de49939ffe8d4b093434e1b13c3e9b309766 100644 --- a/bsp/stm32/stm32f103-yf-ufun/board/Kconfig +++ b/bsp/stm32/stm32f103-yf-ufun/board/Kconfig @@ -69,6 +69,29 @@ menu "On-chip Peripheral Drivers" default 16 endif + menuconfig BSP_USING_PWM + bool "Enable PWM" + default n + select RT_USING_PWM + if BSP_USING_PWM + menuconfig BSP_USING_PWM2 + bool "Enable timer2 output pwm" + default n + if BSP_USING_PWM2 + config BSP_USING_PWM2_CH1 + bool "Enable PWM2 channel 1" + default n + + config BSP_USING_PWM2_CH2 + bool "Enable PWM2 channel 2" + default n + + config BSP_USING_PWM2_CH3 + bool "Enable PWM2 channel 3" + default n + endif + endif + config BSP_USING_SDIO bool "Enable SDCARD (sdio)" select RT_USING_SDIO