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:
committed by
Carles Cufi
parent
a2de60c6da
commit
e3daa98e79
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_NUCLEO_L011K4
|
||||
|
||||
config BOARD
|
||||
default "nucleo_l011k4"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/nucleo_l011k4/Kconfig.nucleo_l011k4
Normal file
5
boards/st/nucleo_l011k4/Kconfig.nucleo_l011k4
Normal 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
|
||||
5
boards/st/nucleo_l011k4/board.yml
Normal file
5
boards/st/nucleo_l011k4/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: nucleo_l011k4
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l011xx
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
@@ -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
|
||||
===================
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user