Final fixes to get the nucleo-l432kc config build. execution not tested yet

This commit is contained in:
Sebastien Lorquet 2017-05-09 09:00:37 +02:00
parent ff4f5fdba2
commit b2bb795520
2 changed files with 14 additions and 0 deletions

View File

@ -810,6 +810,15 @@ config ARCH_BOARD_NUCLEO_F411RE
This is a minimal configuration that supports low-level test of the
Nucleo F411RE in the NuttX source tree.
config ARCH_BOARD_NUCLEO_L432KC
bool "STM32L432 Nucleo-32 L432KC"
depends on ARCH_CHIP_STM32L432KC
select ARCH_HAVE_LEDS
select ARCH_HAVE_BUTTONS
select ARCH_HAVE_IRQBUTTONS
---help---
STMicro Nucleo-32 L432KC board based on the STMicro STM32L432KCU6 MCU.
config ARCH_BOARD_NUCLEO_L452RE
bool "STM32L452 Nucleo L452RE"
depends on ARCH_CHIP_STM32L452RE
@ -1566,6 +1575,7 @@ config ARCH_BOARD
default "nucleo-f303re" if ARCH_BOARD_NUCLEO_F303RE
default "nucleo-f334r8" if ARCH_BOARD_NUCLEO_F334R8
default "nucleo-f4x1re" if ARCH_BOARD_NUCLEO_F401RE || ARCH_BOARD_NUCLEO_F411RE
default "nucleo-l432kc" if ARCH_BOARD_NUCLEO_L432KC
default "nucleo-l452re" if ARCH_BOARD_NUCLEO_L452RE
default "nucleo-l476rg" if ARCH_BOARD_NUCLEO_L476RG
default "nucleo-l496zg" if ARCH_BOARD_NUCLEO_L496ZG
@ -1886,6 +1896,9 @@ endif
if ARCH_BOARD_NUCLEO_F401RE || ARCH_BOARD_NUCLEO_F411RE
source "configs/nucleo-f4x1re/Kconfig"
endif
if ARCH_BOARD_NUCLEO_L432KC
source "configs/nucleo-l432kc/Kconfig"
endif
if ARCH_BOARD_NUCLEO_L452RE
source "configs/nucleo-l452re/Kconfig"
endif

View File

@ -90,6 +90,7 @@ void stm32l4_spiinitialize(void)
#endif
_info("SPI1 initialized\n");
#endif
#ifdef CONFIG_STM32L4_SPI2
/* Configure SPI-based devices */