45 lines
478 B
Plaintext
45 lines
478 B
Plaintext
# Kconfig - STM32 Minimum Development Board Configuration
|
|
#
|
|
# Copyright (c) 2017, embedjournal.com
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if BOARD_STM32_MIN_DEV
|
|
|
|
config BOARD
|
|
default "stm32_min_dev"
|
|
|
|
if UART_CONSOLE
|
|
|
|
config UART_STM32_PORT_1
|
|
default y
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
if I2C
|
|
|
|
config I2C_1
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
if PWM
|
|
|
|
config PWM_STM32_1
|
|
default y
|
|
|
|
endif # PWM
|
|
|
|
if SPI
|
|
|
|
config SPI_1
|
|
default y
|
|
|
|
config SPI_2
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
endif # BOARD_STM32_MIN_DEV
|