boards: arm: qemu_cortex_m3: 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-19 12:58:41 +00:00
committed by Carles Cufi
parent 1532f2fee1
commit eab8628f98
8 changed files with 12 additions and 7 deletions

View File

@@ -1,6 +1,5 @@
# Copyright (c) 2016 Zephyr Contributors
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_M3
bool "Cortex-M3 Emulation (QEMU)"
depends on SOC_TI_LM3S6965
select QEMU_TARGET

View File

@@ -1,3 +1,4 @@
# Copyright (c) 2016 Zephyr Contributors
# SPDX-License-Identifier: Apache-2.0
if BOARD_QEMU_CORTEX_M3
@@ -5,9 +6,6 @@ if BOARD_QEMU_CORTEX_M3
config BUILD_OUTPUT_BIN
default n
config BOARD
default "qemu_cortex_m3"
# DWT is not properly emulated in QEMU
choice NULL_POINTER_EXCEPTION_DETECTION
bool

View File

@@ -0,0 +1,7 @@
# Copyright (c) 2016 Zephyr Contributors
# SPDX-License-Identifier: Apache-2.0
config BOARD_QEMU_CORTEX_M3
select SOC_TI_LM3S6965
help
Cortex-M3 Emulation (QEMU)

View File

@@ -1,3 +1,4 @@
# Copyright (c) 2016 Zephyr Contributors
# SPDX-License-Identifier: Apache-2.0
set(SUPPORTED_EMU_PLATFORMS qemu)

View File

@@ -1,3 +1,4 @@
/* Copyright (c) 2016 Zephyr Contributors */
/* SPDX-License-Identifier: Apache-2.0 */
/dts-v1/;

View File

@@ -1,8 +1,7 @@
# Copyright (c) 2016 Zephyr Contributors
# SPDX-License-Identifier: Apache-2.0
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=12000000
CONFIG_SOC_TI_LM3S6965=y
CONFIG_BOARD_QEMU_CORTEX_M3=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_SERIAL=y