boards: mps3_an547: Enable QEMU support

Now that SDK 0.13.0 is out we can enable QEMU support on the
MPS3-AN547 to get coverage on Cortex-M55.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2021-03-02 17:39:19 -06:00 committed by Christopher Friedt
commit ad8ca3ee5a
4 changed files with 4 additions and 1 deletions

View file

@ -4,3 +4,4 @@
config BOARD_MPS3_AN547 config BOARD_MPS3_AN547
bool "Arm Cortex-M55 (Corstone-300, SSE-300 w/Ethos-U55) on MPS3 (AN547)" bool "Arm Cortex-M55 (Corstone-300, SSE-300 w/Ethos-U55) on MPS3 (AN547)"
depends on SOC_MPS3_AN547 depends on SOC_MPS3_AN547
select QEMU_TARGET

View file

@ -10,7 +10,7 @@
# $ west build -b mps3_an547 samples/hello°world -DEMU_PLATFORM=qemu -t run # $ west build -b mps3_an547 samples/hello°world -DEMU_PLATFORM=qemu -t run
if(NOT DEFINED EMU_PLATFORM) if(NOT DEFINED EMU_PLATFORM)
set(EMU_PLATFORM armfvp) set(EMU_PLATFORM qemu)
endif() endif()
if (EMU_PLATFORM STREQUAL "qemu") if (EMU_PLATFORM STREQUAL "qemu")

View file

@ -8,6 +8,7 @@ identifier: mps3_an547
name: Arm MPS3-AN547 name: Arm MPS3-AN547
type: mcu type: mcu
arch: arm arch: arm
simulation: qemu
toolchain: toolchain:
- gnuarmemb - gnuarmemb
- zephyr - zephyr

View file

@ -11,6 +11,7 @@ CONFIG_CORTEX_M_SYSTICK=y
CONFIG_RUNTIME_NMI=y CONFIG_RUNTIME_NMI=y
CONFIG_ARM_TRUSTZONE_M=y CONFIG_ARM_TRUSTZONE_M=y
CONFIG_ARM_MPU=y CONFIG_ARM_MPU=y
CONFIG_QEMU_ICOUNT_SHIFT=7
# GPIOs # GPIOs
CONFIG_GPIO=y CONFIG_GPIO=y