2017-10-27 23:22:41 +08:00
|
|
|
# Kconfig - STM32 Nucleo-64 development board with STM32F091RC MCU
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017 Bobby Noelte
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_F091RC
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_f091rc"
|
2017-10-27 23:22:41 +08:00
|
|
|
|
2017-12-29 03:20:20 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
|
|
|
config UART_STM32_PORT_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config I2C_2
|
|
|
|
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-10-27 23:22:41 +08:00
|
|
|
endif # BOARD_NUCLEO_F091RC
|