-
Hello Zephyr community, I am starting to delve in to Test-Driven Development (TDD) and I have developed c++ state machines with the QP CPP framework. I would like to use ZTEST to unit test my state machines but my code depends on the zephyr timer API. In my tests I would like to go fast forward in time (emulation) so I can test if my state machines are triggered and check the functional behavior without having to wait. Would it be possible to link my own timer implementation for the timer APIs (e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Try
|
Beta Was this translation helpful? Give feedback.
Try
CONFIG_NATIVE_POSIX_SLOWDOWN_TO_REAL_TIME=n
on eithernative_posix
ornative_posix_64
.