mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-bsp: add support for qemu-cortex-m0
Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
24
meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf
Normal file
24
meta-zephyr-bsp/conf/machine/qemu-cortex-m0.conf
Normal file
@@ -0,0 +1,24 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: qemu-cortex-m0
|
||||
#@DESCRIPTION: Machine for BBC Microbit v1, Zephyr BOARD qemu_cortex_m0
|
||||
|
||||
require conf/machine/include/qemu.inc
|
||||
require conf/machine/include/arm/armv6m/tune-cortexm0.inc
|
||||
|
||||
MACHINEOVERRIDES =. "nordic:"
|
||||
|
||||
# GLIBC will not work with Cortex-M.
|
||||
TCLIBC = "newlib"
|
||||
|
||||
# For runqemu
|
||||
QB_SYSTEM_NAME = "qemu-system-arm"
|
||||
QB_MACHINE = "-machine microbit"
|
||||
QB_CPU = "-cpu cortex-m0"
|
||||
QB_OPT_APPEND = "-nographic -vga none"
|
||||
QB_RNG = ""
|
||||
QB_OPT_APPEND = "-icount shift=6,align=off,sleep=on -rtc clock=vm"
|
||||
|
||||
# Zephyr RTOS settings
|
||||
ZEPHYR_BOARD = "qemu_cortex_m0"
|
||||
ZEPHYR_INHERIT_CLASSES += "zephyr-qemuboot"
|
||||
ARCH:qemu-cortex-m0 = "arm"
|
||||
Reference in New Issue
Block a user