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:
committed by
Carles Cufi
parent
c7a415d92c
commit
d055676307
@@ -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
|
||||
@@ -5,9 +5,6 @@
|
||||
|
||||
if BOARD_DISCO_L475_IOT1
|
||||
|
||||
config BOARD
|
||||
default "disco_l475_iot1"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/disco_l475_iot1/Kconfig.disco_l475_iot1
Normal file
5
boards/st/disco_l475_iot1/Kconfig.disco_l475_iot1
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2017 Linaro Limited
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_DISCO_L475_IOT1
|
||||
select SOC_STM32L475XX
|
||||
5
boards/st/disco_l475_iot1/board.yml
Normal file
5
boards/st/disco_l475_iot1/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: disco_l475_iot1
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l475xx
|
||||
@@ -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
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
@@ -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
|
||||
Reference in New Issue
Block a user