boards: Convert stm32f0_disco to HWM v2
Port the board to HWMv2. Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
This commit is contained in:
committed by
Jamie McCrae
parent
1933585785
commit
8d87bcc167
@@ -1,8 +0,0 @@
|
||||
# STM32F0DISCOVERY development board with STM32F051R8 MCU configuration
|
||||
|
||||
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F0_DISCO
|
||||
bool "STM32F0DISCOVERY Development Board"
|
||||
depends on SOC_STM32F051X8
|
||||
@@ -1,11 +0,0 @@
|
||||
# STM32F0 development board with STM32F051R8T6 MCU
|
||||
|
||||
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_STM32F0_DISCO
|
||||
|
||||
config BOARD
|
||||
default "stm32f0_disco"
|
||||
|
||||
endif # BOARD_STM32F0_DISCO
|
||||
5
boards/v2/st/stm32f0_disco/Kconfig.stm32f0_disco
Normal file
5
boards/v2/st/stm32f0_disco/Kconfig.stm32f0_disco
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2018 Nathan Tsoi <nathan@vertile.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_STM32F0_DISCO
|
||||
select SOC_STM32F051X8
|
||||
5
boards/v2/st/stm32f0_disco/board.yml
Normal file
5
boards/v2/st/stm32f0_disco/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: stm32f0_disco
|
||||
vendor: st
|
||||
socs:
|
||||
- name: stm32f051x8
|
||||
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@@ -1,11 +1,7 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Zephyr Kernel Configuration
|
||||
CONFIG_SOC_SERIES_STM32F0X=y
|
||||
|
||||
# Platform Configuration
|
||||
CONFIG_SOC_STM32F051X8=y
|
||||
|
||||
# Kernel Options due to Low Memory (8k)
|
||||
CONFIG_MAIN_STACK_SIZE=640
|
||||
CONFIG_IDLE_STACK_SIZE=200
|
||||
Reference in New Issue
Block a user