mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-05 18:12:57 +00:00
This commit defines qemu_cortex_m0 board, adding support for Cortex-M0 in QEMU. The added platform is based on the (nRF51) bbc_microbit board. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
17 lines
288 B
CMake
17 lines
288 B
CMake
#
|
|
# Copyright (c) 2019, Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set(EMU_PLATFORM qemu)
|
|
|
|
set(QEMU_CPU_TYPE_${ARCH} cortex-m0)
|
|
set(QEMU_FLAGS_${ARCH}
|
|
-cpu ${QEMU_CPU_TYPE_${ARCH}}
|
|
-machine microbit
|
|
-nographic
|
|
-vga none
|
|
)
|
|
|
|
board_set_debugger_ifnset(qemu)
|