2019-11-01 20:45:29 +08:00
|
|
|
# STM32 Nucleo-64 development board with STM32L073RZ MCU
|
|
|
|
|
2018-03-11 23:27:12 +08:00
|
|
|
# Copyright (c) 2018 Ilya Tagunov <tagunil@gmail.com>
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_L073RZ
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_l073rz"
|
2018-03-11 23:27:12 +08:00
|
|
|
|
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_2
|
2018-03-11 23:27:12 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
2018-03-14 00:27:31 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
2018-03-15 20:29:36 +08:00
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
2018-03-14 00:27:31 +08:00
|
|
|
|
2018-03-11 23:27:12 +08:00
|
|
|
endif # BOARD_NUCLEO_L073RZ
|