zephyr/boards/arm/nucleo_g431rb/Kconfig.defconfig
Gerard Marull-Paretas c6b1375400 drivers: pwm: stm32: remove remaining Kconfig instances
Following other drivers, Kconfig based instances are now entirely
removed. In order to do this change, PWM nodes in board DT files have
been given a pwm{N} label so that both:

- DT API checks such as #if DT_HAS_NODE(DT_NODELABEL(pwmN)) can be
  used (N being PWM instance number).
- DT references can be written as pwms = <&pwmN x y>; instead of
  pwms = <&{/soc/timers@XXXXXXXX/pwm} x y>;

This approach is also used on the Linux Kernel.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-05-05 10:52:51 -05:00

16 lines
294 B
Plaintext

# STM32G431RB Nucleo board configuration
# Copyright (c) 2019 Richard Osterloh <richard.osterloh@gmail.com>
# SPDX-License-Identifier: Apache-2.0
if BOARD_NUCLEO_G431RB
config BOARD
default "nucleo_g431rb"
config SPI_STM32_INTERRUPT
default y
depends on SPI
endif # BOARD_NUCLEO_G431RB