boards: Convert nucleo_l011k4 to HWM v2

Port the board to HWMv2.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
Erwan Gouriou
2024-02-15 17:33:50 +01:00
committed by Carles Cufi
parent a2de60c6da
commit e3daa98e79
11 changed files with 11 additions and 16 deletions

View File

@@ -1,8 +0,0 @@
# STM32 Nucleo-32 development board with STM32L011K4 MCU configuration
# Copyright (c) 2020 Steven Daglish <s.c.daglish@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L011K4
bool "NUCLEO-32 L011K4 Development Board"
depends on SOC_STM32L011XX

View File

@@ -5,9 +5,6 @@
if BOARD_NUCLEO_L011K4
config BOARD
default "nucleo_l011k4"
config SPI_STM32_INTERRUPT
default y
depends on SPI

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2020 Steven Daglish <s.c.daglish@gmail.com>
# SPDX-License-Identifier: Apache-2.0
config BOARD_NUCLEO_L011K4
select SOC_STM32L011XX

View File

@@ -0,0 +1,5 @@
board:
name: nucleo_l011k4
vendor: st
socs:
- name: stm32l011xx

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -95,7 +95,7 @@ The Zephyr nucleo_l011k4 board configuration supports the following hardware fea
Other hardware features are not yet supported in this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/nucleo_l011k4/nucleo_l011k4_defconfig``
:zephyr_file:boards/st/nucleo_l011k4/nucleo_l011k4_defconfig`
Connections and IOs
===================

View File

@@ -1,11 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Zephyr Kernel Configuration
CONFIG_SOC_SERIES_STM32L0X=y
# Platform Configuration
CONFIG_SOC_STM32L011XX=y
# Kernel Options due to Low Memory (2k)
CONFIG_MAIN_STACK_SIZE=320
CONFIG_IDLE_STACK_SIZE=100