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:
committed by
Carles Cufi
parent
1532f2fee1
commit
eab8628f98
@@ -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
|
||||
@@ -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
|
||||
7
boards/qemu/cortex_m3/Kconfig.qemu_cortex_m3
Normal file
7
boards/qemu/cortex_m3/Kconfig.qemu_cortex_m3
Normal 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)
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2016 Zephyr Contributors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
set(SUPPORTED_EMU_PLATFORMS qemu)
|
||||
@@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2016 Zephyr Contributors */
|
||||
/* SPDX-License-Identifier: Apache-2.0 */
|
||||
|
||||
/dts-v1/;
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user