2018-03-16 08:58:11 +08:00
|
|
|
# Kconfig - NUCLEO_F070RB board configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 qianfan Zhao
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_F070RB
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_f070rb"
|
2018-03-16 08:58:11 +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
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
|
|
|
endif # BOARD_NUCLEO_F070RB
|