Commit 21c362e0 authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Kumar Gala
Browse files

board: configure pwm support on ST Nucleo boards



Change-Id: Iaad4644e901729b2353daddbf6e3f402370541fb
Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@linaro.org>
parent 4827f2f3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,3 +44,8 @@ CONFIG_CLOCK_STM32F10X_AHB_PRESCALER=0
# APB1 clock must not to exceed 36MHz limit
CONFIG_CLOCK_STM32F10X_APB1_PRESCALER=2
CONFIG_CLOCK_STM32F10X_APB2_PRESCALER=0

#enable pwm
CONFIG_PWM=y
CONFIG_PWM_STM32=y
CONFIG_PWM_STM32_1=y
+5 −0
Original line number Diff line number Diff line
@@ -34,3 +34,8 @@ CONFIG_CLOCK_STM32F4X_PLLQ_DIV_FACTOR=7
CONFIG_CLOCK_STM32F4X_AHB_PRESCALER=0
CONFIG_CLOCK_STM32F4X_APB1_PRESCALER=2
CONFIG_CLOCK_STM32F4X_APB2_PRESCALER=0

#enable pwm
CONFIG_PWM=y
CONFIG_PWM_STM32=y
CONFIG_PWM_STM32_2=y
+5 −0
Original line number Diff line number Diff line
@@ -49,3 +49,8 @@ CONFIG_CLOCK_STM32L4X_APB2_PRESCALER=0
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_2"

#enable pwm
CONFIG_PWM=y
CONFIG_PWM_STM32=y
CONFIG_PWM_STM32_2=y