2019-11-01 20:45:29 +08:00
|
|
|
# NUCLEO-64 F302R8 board configuration
|
|
|
|
|
2018-10-10 13:39:46 +08:00
|
|
|
# Copyright (c) 2018 Seitz & Associates
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_F302R8
|
|
|
|
|
|
|
|
config BOARD
|
|
|
|
default "nucleo_f302r8"
|
|
|
|
|
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_2
|
2018-10-10 13:39:46 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
|
|
|
if SERIAL
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_3
|
2018-10-10 13:39:46 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SERIAL
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-10 13:39:46 +08:00
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_2
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-10 13:39:46 +08:00
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
|
|
|
if PWM
|
|
|
|
|
|
|
|
config PWM_STM32_2
|
2018-11-14 00:15:49 +08:00
|
|
|
default y
|
2018-10-10 13:39:46 +08:00
|
|
|
|
|
|
|
endif # PWM
|
|
|
|
|
|
|
|
endif # BOARD_NUCLEO_F302R8
|