boards: Convert nucleo_c031c6 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
Jamie McCrae
parent
dbc5ed79f5
commit
2ba3639b2a
@@ -1,8 +0,0 @@
|
|||||||
# STM32 Nucleo-64 development board with STM32C031C6 MCU configuration
|
|
||||||
|
|
||||||
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
config BOARD_NUCLEO_C031C6
|
|
||||||
bool "NUCLEO-64 C031C6 Development Board"
|
|
||||||
depends on SOC_STM32C031XX
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# STM32 Nucleo-64 development board with STM32C031C6 MCU
|
|
||||||
|
|
||||||
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
|
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
|
||||||
|
|
||||||
if BOARD_NUCLEO_C031C6
|
|
||||||
|
|
||||||
config BOARD
|
|
||||||
default "nucleo_c031c6"
|
|
||||||
|
|
||||||
endif # BOARD_NUCLEO_C031C6
|
|
||||||
5
boards/st/nucleo_c031c6/Kconfig.nucleo_c031c6
Normal file
5
boards/st/nucleo_c031c6/Kconfig.nucleo_c031c6
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
config BOARD_NUCLEO_C031C6
|
||||||
|
select SOC_STM32C031XX
|
||||||
5
boards/st/nucleo_c031c6/board.yml
Normal file
5
boards/st/nucleo_c031c6/board.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
board:
|
||||||
|
name: nucleo_c031c6
|
||||||
|
vendor: st
|
||||||
|
socs:
|
||||||
|
- name: stm32c031xx
|
||||||
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
@@ -1,11 +1,5 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# Zephyr Kernel Configuration
|
|
||||||
CONFIG_SOC_SERIES_STM32C0X=y
|
|
||||||
|
|
||||||
# Platform Configuration
|
|
||||||
CONFIG_SOC_STM32C031XX=y
|
|
||||||
|
|
||||||
# Serial Drivers
|
# Serial Drivers
|
||||||
CONFIG_SERIAL=y
|
CONFIG_SERIAL=y
|
||||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||||
Reference in New Issue
Block a user