boards: Convert nucleo_l452re to HWM v2
Port the board to HWMv2. Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
committed by
Carles Cufi
parent
46f92b227b
commit
9893e0d111
@@ -1,13 +0,0 @@
|
||||
# STM32L452RE Nucleo board configuration
|
||||
#
|
||||
# Copyright (c) 2019 Libre Solar Technologies GmbH
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_L452RE
|
||||
bool "Nucleo L452RE Development Board"
|
||||
depends on SOC_STM32L452XX
|
||||
|
||||
config BOARD_NUCLEO_L452RE_P
|
||||
bool "Nucleo L452RE-P Development Board"
|
||||
depends on SOC_STM32L452XX
|
||||
@@ -6,10 +6,6 @@
|
||||
|
||||
if BOARD_NUCLEO_L452RE || BOARD_NUCLEO_L452RE_P
|
||||
|
||||
config BOARD
|
||||
default "nucleo_l452re" if BOARD_NUCLEO_L452RE
|
||||
default "nucleo_l452re_p" if BOARD_NUCLEO_L452RE_P
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/nucleo_l452re/Kconfig.nucleo_l452re
Normal file
5
boards/st/nucleo_l452re/Kconfig.nucleo_l452re
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2019 Libre Solar Technologies GmbH
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_L452RE
|
||||
select SOC_STM32L452XX
|
||||
5
boards/st/nucleo_l452re/board.yml
Normal file
5
boards/st/nucleo_l452re/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_l452re
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l452xx
|
||||
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@@ -132,7 +132,7 @@ The Zephyr nucleo_l452re board configuration supports the following hardware fea
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
``boards/arm/nucleo_l452re/nucleo_l452re_defconfig``
|
||||
``boards/st/nucleo_l452re/nucleo_l452re_defconfig``
|
||||
|
||||
|
||||
Connections and IOs
|
||||
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32L4X=y
|
||||
CONFIG_SOC_STM32L452XX=y
|
||||
|
||||
# enable uart driver
|
||||
CONFIG_SERIAL=y
|
||||
|
||||
Reference in New Issue
Block a user