boards: Convert stm32l496g_disco 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
29d03c970b
commit
39c26f09ed
@@ -1,10 +0,0 @@
|
||||
# STM32L496G Discovery board configuration
|
||||
|
||||
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
||||
# Copyright (c) 2016 BayLibre, SAS
|
||||
# Copyright (c) 2019 Centaur Analytics, Inc
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32L496G_DISCO
|
||||
bool "STM32L496G Discovery Development Board"
|
||||
depends on SOC_STM32L496XX
|
||||
@@ -6,9 +6,6 @@
|
||||
|
||||
if BOARD_STM32L496G_DISCO
|
||||
|
||||
config BOARD
|
||||
default "stm32l496g_disco"
|
||||
|
||||
config SPI_STM32_INTERRUPT
|
||||
default y
|
||||
depends on SPI
|
||||
5
boards/st/stm32l496g_disco/Kconfig.stm32l496g_disco
Normal file
5
boards/st/stm32l496g_disco/Kconfig.stm32l496g_disco
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2019 Centaur Analytics, Inc
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32L496G_DISCO
|
||||
select SOC_STM32L496XX
|
||||
5
boards/st/stm32l496g_disco/board.yml
Normal file
5
boards/st/stm32l496g_disco/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: stm32l496g_disco
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32l496xx
|
||||
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
@@ -155,7 +155,7 @@ Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
|
||||
``boards/arm/stm32l496g_disco/stm32l496g_disco_defconfig``
|
||||
``boards/st/stm32l496g_disco/stm32l496g_disco_defconfig``
|
||||
|
||||
|
||||
Connections and IOs
|
||||
@@ -1,8 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_SERIES_STM32L4X=y
|
||||
CONFIG_SOC_STM32L496XX=y
|
||||
|
||||
# Enable MPU
|
||||
CONFIG_ARM_MPU=y
|
||||
|
||||
Reference in New Issue
Block a user