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:
parent
8acdbd796e
commit
812e2eaad2
1 changed files with 11 additions and 0 deletions
11
boards/arm/mps2_an385/board.cmake
Normal file
11
boards/arm/mps2_an385/board.cmake
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue