1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/p-nucleo-wb55: PWM config: Kconfig, Makefile.features, periph_conf.h

This commit is contained in:
krzysztof-cabaj 2023-11-27 19:51:52 +01:00
parent 20c389870a
commit 2e4018ea57
3 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@ config BOARD_P_NUCLEO_WB55
# Put defined MCU peripherals here (in alphabetical order)
select HAS_PERIPH_I2C
select HAS_PERIPH_LPUART
select HAS_PERIPH_PWM
select HAS_PERIPH_RTC
select HAS_PERIPH_RTT
select HAS_PERIPH_SPI

View File

@ -5,6 +5,7 @@ CPU_MODEL = stm32wb55rg
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_lpuart
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi

View File

@ -106,6 +106,10 @@ static const spi_conf_t spi_config[] = {
#define SPI_NUMOF ARRAY_SIZE(spi_config)
/** @} */
static const pwm_conf_t pwm_config[] = {{},};
#define PWM_NUMOF ARRAY_SIZE(pwm_config)
/**
* @brief USB device FS configuration
*/