boards: convert QEMU RV32E board to Zephyr HWMv2
This commit converts the QEMU RV32E board to Zephyr HWMvW. This includes the following former target: qemu_riscv32e. Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
This commit is contained in:
committed by
Carles Cufi
parent
5b2ffc652b
commit
f4c31a2b86
@@ -1,11 +0,0 @@
|
||||
# Copyright (c) 2022 Carlo Caione <ccaione@baylibre.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_QEMU_RISCV32E
|
||||
bool "QEMU RISCV32E target"
|
||||
depends on SOC_RISCV_VIRT
|
||||
select QEMU_TARGET
|
||||
select HAS_COVERAGE_SUPPORT
|
||||
select RISCV_ISA_RV32E
|
||||
select RISCV_ISA_EXT_ZICSR
|
||||
select RISCV_ISA_EXT_ZIFENCEI
|
||||
@@ -1,13 +0,0 @@
|
||||
# Copyright (c) 2022 Carlo Caione <ccaione@baylibre.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BUILD_OUTPUT_BIN
|
||||
default n
|
||||
|
||||
config BOARD
|
||||
default "qemu_riscv32e" if BOARD_QEMU_RISCV32E
|
||||
|
||||
# Use thread local storage by default so that
|
||||
# this feature gets more CI coverage.
|
||||
config THREAD_LOCAL_STORAGE
|
||||
default y
|
||||
5
boards/qemu/qemu_riscv32e/Kconfig
Normal file
5
boards/qemu/qemu_riscv32e/Kconfig
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_QEMU_RISCV32E
|
||||
select QEMU_TARGET
|
||||
16
boards/qemu/qemu_riscv32e/Kconfig.defconfig
Normal file
16
boards/qemu/qemu_riscv32e/Kconfig.defconfig
Normal file
@@ -0,0 +1,16 @@
|
||||
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BOARD_QEMU_RISCV32E
|
||||
|
||||
# Use thread local storage by default so that this feature gets more CI coverage.
|
||||
config THREAD_LOCAL_STORAGE
|
||||
default y
|
||||
|
||||
config BUILD_OUTPUT_BIN
|
||||
default n
|
||||
|
||||
config HAS_COVERAGE_SUPPORT
|
||||
default y
|
||||
|
||||
endif # BOARD_QEMU_RISCV32E
|
||||
5
boards/qemu/qemu_riscv32e/Kconfig.qemu_riscv32e
Normal file
5
boards/qemu/qemu_riscv32e/Kconfig.qemu_riscv32e
Normal file
@@ -0,0 +1,5 @@
|
||||
# Copyright (c) 2024 Antmicro <www.antmicro.com>
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config BOARD_QEMU_RISCV32E
|
||||
select SOC_QEMU_VIRT_RISCV32E
|
||||
5
boards/qemu/qemu_riscv32e/board.yml
Normal file
5
boards/qemu/qemu_riscv32e/board.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
board:
|
||||
name: qemu_riscv32e
|
||||
vendor: qemu
|
||||
socs:
|
||||
- name: qemu_virt_riscv32e
|
||||
@@ -1,7 +1,5 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SOC_RISCV_VIRT=y
|
||||
CONFIG_BOARD_QEMU_RISCV32E=y
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
Reference in New Issue
Block a user