2016-10-05 17:57:51 +08:00
|
|
|
# Kconfig - STM32L476RG Nucleo board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
# Copyright (c) 2016 BayLibre, SAS
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-10-05 17:57:51 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_L476RG
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_l476rg"
|
2016-10-05 17:57:51 +08:00
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
|
|
|
config UART_STM32_PORT_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
2018-01-28 09:37:58 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_STM32_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2016-10-05 17:57:51 +08:00
|
|
|
endif # BOARD_NUCLEO_L476RG
|