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 #14173 and #22904.

Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
stephanosio authored and nashif committed Mar 21, 2020
1 parent 7b5f6bc commit 1038e4d
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 1038e4d

Please sign in to comment.