mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm/machine: add zephyr machine conf for microbit
Zephyr supports QEMU based machine for Cortex M0 (qemu-cortex-m0). This is actually using the BBC Microbit v1 machine in QEMU. Use this more accurate name for the machine conf. This enables us to verify m0 tunings. NOTE: qemu-cortex-m0's zephyr config has SRAM too small to run zephyr-kernel-test-all, but can run zephyr-philosophers and zephyr-kernel-test-sleep (and possibly others). Change-Id: Ia997a162c10cf1a6b8fea244cb1960f4d4c66adc Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
#@TYPE: Machine
|
||||||
|
#@NAME: microbit_v1
|
||||||
|
#@DESCRIPTION: Machine for BBC Microbit v1, Zephyr BOARD qemu_cortex_m0
|
||||||
|
|
||||||
|
require conf/machine/include/qemu.inc
|
||||||
|
require conf/machine/include/tune-cortex-m0.inc
|
||||||
|
|
||||||
|
MACHINEOVERRIDES =. "nordic:"
|
||||||
|
|
||||||
|
# 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 = ""
|
||||||
|
|
||||||
|
# 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