2018-05-24 20:39:19 +08:00
|
|
|
# Kconfig - STM32 Nucleo-64 development board with STM32L053R8 MCU
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Anthony Kreft <anthony.kreft@gmail.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
|
|
|
if BOARD_NUCLEO_L053R8
|
|
|
|
|
|
|
|
config BOARD
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_l053r8"
|
2018-05-24 20:39:19 +08:00
|
|
|
|
|
|
|
if UART_CONSOLE
|
|
|
|
|
2018-12-14 23:56:04 +08:00
|
|
|
config UART_2
|
2018-05-24 20:39:19 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
|
|
|
# Disable ports D and H to allow kernel test cases common and
|
|
|
|
# contex to run on nucleo_l053r8.
|
|
|
|
# Test cases fail due to 'SRAM' region overflow.
|
|
|
|
if GPIO
|
|
|
|
|
|
|
|
config GPIO_STM32_PORTD
|
|
|
|
default n
|
|
|
|
|
|
|
|
config GPIO_STM32_PORTH
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # GPIO
|
|
|
|
|
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
|
|
|
if SPI
|
|
|
|
|
|
|
|
config SPI_1
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SPI_STM32_INTERRUPT
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SPI
|
|
|
|
|
|
|
|
endif # BOARD_NUCLEO_L053R8
|