board: configure pwm support on ST Nucleo boards

Change-Id: Iaad4644e901729b2353daddbf6e3f402370541fb
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2016-11-25 17:22:17 +01:00 committed by Kumar Gala
commit 21c362e081
3 changed files with 15 additions and 0 deletions

View file

@ -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