Hi, The following patch fix STM32L4 PWM build issue.
Thanks Daniel Pereira de Carvalho
From efee42f51054a75e5ea1594d1da244e13fc0a79a Mon Sep 17 00:00:00 2001 From: "Daniel P. Carvalho" <danieloak@gmail.com> Date: Thu, 9 Jan 2020 13:43:27 -0300 Subject: [PATCH] Fix stm32_pwm.c build error, 'OK' undeclared. --- boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c index 133df7cdb7..00c3d00d45 100644 --- a/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c +++ b/boards/arm/stm32l4/nucleo-l432kc/src/stm32_pwm.c @@ -41,6 +41,7 @@ ******************************************************************************/ #include <nuttx/config.h> +#include <sys/types.h> #include <errno.h> #include <debug.h> @@ -62,7 +63,7 @@ /* Configuration **************************************************************/ /* PWM * - * The STM3240G-Eval has no real on-board PWM devices, but the board can be + * The nucleo-l432kc has no real on-board PWM devices, but the board can be * configured to output a pulse train using variously unused pins on the board * for PWM output (see board.h for details of pins). */ -- 2.23.0