boards: mps2-an385: this platform is supported by qemu

In Qemu 2.10 we can run this board configuration in Qemu directly. Make
this possible by setting the board configuration to allow emulation.

Until we have the latest QEMU in the SDK this can be used with a recent
QEMU like this:

$ mkdir build; cd build
$ cmake -DQEMU=/usr/bin/qemu-system-arm -DBOARD=mps2_an385 ..
$ make run

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-01-04 14:17:18 -05:00 committed by Anas Nashif
commit 812e2eaad2

View file

@ -0,0 +1,11 @@
set(EMU_PLATFORM qemu)
set(QEMU_CPU_TYPE_${ARCH} cortex-m3)
set(QEMU_FLAGS_${ARCH}
-cpu ${QEMU_CPU_TYPE_${ARCH}}
-machine mps2-an385
-nographic
-vga none
)
set(BOARD_DEBUG_RUNNER qemu)