boards: Convert nucleo_l412rb_p 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
d055676307
commit
325f95ec20
@@ -1,8 +0,0 @@
|
||||
# STM32L412RB Nucleo board configuration
|
||||
|
||||
# Copyright (c) 2021 Guðni Már Gilbert
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_L412RB_P
|
||||
bool "Nucleo L412RB-P Development Board"
|
||||
depends on SOC_STM32L412XX
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NUCLEO_L412RB_P
|
||||
|
||||
config BOARD
|
||||
default "nucleo_l412rb_p"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/nucleo_l412rb_p/Kconfig.nucleo_l412rb_p
Normal file
5
boards/st/nucleo_l412rb_p/Kconfig.nucleo_l412rb_p
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2021 Guðni Már Gilbert
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_NUCLEO_L412RB_P
|
||||
select SOC_STM32L412XX
|
||||
5
boards/st/nucleo_l412rb_p/board.yml
Normal file
5
boards/st/nucleo_l412rb_p/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_l412rb_p
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l412xx
|
||||
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
@@ -161,7 +161,7 @@ The Zephyr ``nucleo_l412rb_p`` board configuration supports the following hardwa
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
``boards/arm/nucleo_l412rb_p/nucleo_l412rb_p_defconfig``
|
||||
``boards/st/nucleo_l412rb_p/nucleo_l412rb_p_defconfig``
|
||||
|
||||
|
||||
Connections and IOs
|
||||
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32L4X=y
|
||||
CONFIG_SOC_STM32L412XX=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user