mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 19:01:56 +00:00
Use this short header style in all Kconfig files: # <description> # <copyright> # <license> ... Also change all <description>s from # Kconfig[.extension] - Foo-related options to just # Foo-related options It's clear enough that it's about Kconfig. The <description> cleanup was done with this command, along with some manual cleanup (big letter at the start, etc.) git ls-files '*Kconfig*' | \ xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /' Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
53 lines
607 B
Plaintext
53 lines
607 B
Plaintext
# Mikroe MINI-M4 for STM32 board configuration
|
|
|
|
# Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_MIKROE_MINI_M4_FOR_STM32
|
|
|
|
config BOARD
|
|
default "mikroe_mini_m4_for_stm32"
|
|
|
|
if UART_CONSOLE
|
|
|
|
config UART_2
|
|
default y
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
if I2C
|
|
|
|
config I2C_2
|
|
default y
|
|
|
|
config I2C_STM32_INTERRUPT
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
if SPI
|
|
|
|
config SPI_1
|
|
default y
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
if PWM
|
|
|
|
config PWM_STM32_3
|
|
default y
|
|
|
|
endif # PWM
|
|
|
|
if USB
|
|
|
|
config USB_DC_STM32
|
|
default y
|
|
|
|
endif # USB
|
|
|
|
endif # BOARD_MIKROE_MINI_M4_FOR_STM32
|