boards: Convert google_dragonclaw to HWM v2

Port the board to HWMv2.

Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
Abderrahmane Jarmouni 2024-02-06 17:47:09 +01:00 committed by Jamie McCrae
parent fa845af309
commit 6b62d90114
8 changed files with 6 additions and 15 deletions

View File

@ -1,9 +0,0 @@
# Copyright (c) 2022 Google LLC
# SPDX-License-Identifier: Apache-2.0
if BOARD_GOOGLE_DRAGONCLAW
config BOARD
default "google_dragonclaw"
endif # BOARD_GOOGLE_DRAGONCLAW

View File

@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_GOOGLE_DRAGONCLAW
bool "Google Dragonclaw Development Board"
depends on SOC_STM32F412CX
select SOC_STM32F412CX

View File

@ -0,0 +1,5 @@
board:
name: google_dragonclaw
vendor: google
socs:
- name: stm32f412zx

View File

@ -1,10 +1,6 @@
# Copyright (c) 2022 Google Inc
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_SERIES_STM32F4X=y
CONFIG_SOC_STM32F412CX=y
CONFIG_BOARD_GOOGLE_DRAGONCLAW=y
# Serial Drivers
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y