We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 247782a commit 4e276e2Copy full SHA for 4e276e2
boards/arm/olimexino_stm32/Kconfig.defconfig
@@ -34,4 +34,11 @@ config SPI_1
34
35
endif # SPI
36
37
+if PWM
38
+
39
+config PWM_STM32_1
40
+ default y
41
42
+endif # PWM
43
44
endif # BOARD_OLIMEXINO_STM32
boards/arm/olimexino_stm32/pinmux.c
@@ -36,6 +36,9 @@ static const struct pin_config pinconf[] = {
{STM32_PIN_PA6, STM32F1_PINMUX_FUNC_PA6_SPI1_MASTER_MISO},
{STM32_PIN_PA7, STM32F1_PINMUX_FUNC_PA7_SPI1_MASTER_MOSI},
#endif
+#ifdef CONFIG_PWM_STM32_1
+ {STM32_PIN_PA8, STM32F1_PINMUX_FUNC_PA8_PWM1_CH1},
+#endif /* CONFIG_PWM_STM32_1 */
};
static int pinmux_stm32_init(struct device *port)
0 commit comments