2016-08-11 11:35:41 +08:00
|
|
|
# Kconfig - NUCLEO-64 F401RE board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
|
|
#
|
2017-01-19 09:01:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-08-11 11:35:41 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_F401RE
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_f401re"
|
2016-08-11 11:35:41 +08:00
|
|
|
|
2017-12-29 02:11:11 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_2
|
2017-12-29 02:11:11 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2018-01-28 09:37:58 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2017-12-29 02:11:11 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_STM32_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2016-08-11 11:35:41 +08:00
|
|
|
endif # BOARD_NUCLEO_F401RE
|