2017-05-21 20:52:30 +08:00
|
|
|
# Kconfig - STM32 Minimum Development Board Configuration
|
|
|
|
#
|
|
|
|
# Copyright (c) 2017, embedjournal.com
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2019-04-07 21:30:00 +08:00
|
|
|
if BOARD_STM32_MIN_DEV_BLUE || BOARD_STM32_MIN_DEV_BLACK
|
2017-05-21 20:52:30 +08:00
|
|
|
|
|
|
|
config BOARD
|
2019-04-07 21:30:00 +08:00
|
|
|
default "stm32_min_dev_blue" if BOARD_STM32_MIN_DEV_BLUE
|
|
|
|
default "stm32_min_dev_black" if BOARD_STM32_MIN_DEV_BLACK
|
2017-05-21 20:52:30 +08:00
|
|
|
|
2017-12-29 03:31:02 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_1
|
2017-12-29 03:31:02 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
2018-11-07 00:31:31 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2018-11-07 14:35:52 +08:00
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_STM32_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
2018-12-12 03:41:22 +08:00
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_2
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
2019-04-07 21:30:00 +08:00
|
|
|
endif # BOARD_STM32_MIN_DEV_BLUE || BOARD_STM32_MIN_DEV_BLACK
|