boards: Convert disco_l475_iot1 to HWM v2

Port the board to HWMv2.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier
2024-02-09 09:10:03 +01:00
committed by Carles Cufi
parent c7a415d92c
commit d055676307
12 changed files with 11 additions and 16 deletions

View File

@@ -1,8 +0,0 @@
# Discovery IoT L475 board configuration
# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_DISCO_L475_IOT1
bool "Discovery IoT L475 Development Board"
depends on SOC_STM32L475XX

View File

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

View File

@@ -0,0 +1,5 @@
# Copyright (c) 2017 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
config BOARD_DISCO_L475_IOT1
select SOC_STM32L475XX

View File

@@ -0,0 +1,5 @@
board:
name: disco_l475_iot1
vendor: st
socs:
- name: stm32l475xx

View File

@@ -1,9 +1,5 @@
# SPDX-License-Identifier: Apache-2.0
CONFIG_BOARD_DISCO_L475_IOT1=y
CONFIG_SOC_SERIES_STM32L4X=y
CONFIG_SOC_STM32L475XX=y
# enable uart driver
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y

View File

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

View File

@@ -136,7 +136,7 @@ Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
``boards/arm/disco_l475_iot1/disco_l475_iot1_defconfig``
``boards/st/disco_l475_iot1/disco_l475_iot1_defconfig``
Connections and IOs