42 lines
468 B
Plaintext
42 lines
468 B
Plaintext
# 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
|
|
default "nucleo_f091rc"
|
|
|
|
if UART_CONSOLE
|
|
|
|
config UART_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_2
|
|
default y
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
endif # BOARD_NUCLEO_F091RC
|