Skip to content

Commit

Permalink
boards: qemu_cortex_r5: Enable QEMU icount emulation
Browse files Browse the repository at this point in the history
This commit enables the QEMU icount emulation mode for improved timing
stability.

In normal emulation mode (without icount), the emulation timing of the
TTC system timer is particularly unstable and this results in a high CI
failure rate.

For more details, refer to the issues zephyrproject-rtos#14173 and zephyrproject-rtos#22904.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Mar 18, 2020
1 parent 47968e3 commit 9d9cdad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boards/arm/qemu_cortex_r5/board.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ set(QEMU_CPU_TYPE_${ARCH} cortex-r5)
set(QEMU_FLAGS_${ARCH}
-nographic
-machine arm-generic-fdt
-icount shift=3,align=off,sleep=off -rtc clock=vm
-dtb ${ZEPHYR_BASE}/boards/${ARCH}/${BOARD}/fdt-single_arch-zcu102-arm.dtb
)

Expand Down

0 comments on commit 9d9cdad

Please sign in to comment.