2017-05-09 20:29:01 +08:00
|
|
|
# Kconfig - STM32L476G Nucleo board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
|
|
|
# Copyright (c) 2016 BayLibre, SAS
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_STM32L496G_DISCO
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "stm32l496g_disco"
|
2017-05-09 20:29:01 +08:00
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_2
|
2017-12-29 03:01:28 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
2018-09-13 22:51:40 +08:00
|
|
|
if SERIAL
|
|
|
|
|
2018-12-19 17:54:39 +08:00
|
|
|
config LPUART_1
|
2018-09-13 22:51:40 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2017-12-29 03:01:28 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_STM32_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2017-05-09 20:29:01 +08:00
|
|
|
endif # BOARD_STM32L496G_DISCO
|