41 lines
459 B
Plaintext
41 lines
459 B
Plaintext
# Kconfig - STM32F072B-DISCO board configuration
|
|
#
|
|
# Copyright (c) 2017 Clage GmbH
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if BOARD_STM32F072B_DISCO
|
|
|
|
config BOARD
|
|
default "stm32f072b_disco"
|
|
|
|
if UART_CONSOLE
|
|
|
|
config UART_STM32_PORT_1
|
|
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_STM32F072B_DISCO
|