boards: arm: riscv32_virtual: Convert to v2

Converts the board to hwmv2

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae
2024-02-28 15:15:05 +00:00
committed by Carles Cufi
parent 484b7f1996
commit 2291ff4b55
10 changed files with 6 additions and 10 deletions

View File

@@ -1,6 +0,0 @@
# Copyright (c) 2023 Meta
# SPDX-License-Identifier: Apache-2.0
config BOARD
default "riscv32_virtual"
depends on BOARD_RISCV32_VIRTUAL

View File

@@ -2,5 +2,4 @@
# SPDX-License-Identifier: Apache-2.0
config BOARD_RISCV32_VIRTUAL
bool "riscv32_virtual"
depends on SOC_RISCV32_VIRTUAL_RENODE
select SOC_RISCV_VIRTUAL_RENODE

View File

@@ -0,0 +1,5 @@
board:
name: riscv32_virtual
vendor: renode
socs:
- name: riscv_virtual_renode

View File

@@ -1,8 +1,6 @@
# Copyright (c) 2023 Meta
# SPDX-License-Identifier: Apache-2.0
CONFIG_SOC_RISCV32_VIRTUAL_RENODE=y
CONFIG_BOARD_RISCV32_VIRTUAL=y
CONFIG_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y