49 lines
487 B
Plaintext
49 lines
487 B
Plaintext
# Kconfig - NUCLEO-64 F302R8 board configuration
|
|
#
|
|
# Copyright (c) 2018 Seitz & Associates
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
if BOARD_NUCLEO_F302R8
|
|
|
|
config BOARD
|
|
default "nucleo_f302r8"
|
|
|
|
if UART_CONSOLE
|
|
|
|
config UART_2
|
|
default y
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
if SERIAL
|
|
|
|
config UART_3
|
|
default y
|
|
|
|
endif # SERIAL
|
|
|
|
if I2C
|
|
|
|
config I2C_1
|
|
default y
|
|
|
|
endif # I2C
|
|
|
|
if SPI
|
|
|
|
config SPI_2
|
|
default y
|
|
|
|
endif # SPI
|
|
|
|
if PWM
|
|
|
|
config PWM_STM32_2
|
|
default y
|
|
|
|
endif # PWM
|
|
|
|
endif # BOARD_NUCLEO_F302R8
|