cpputest-for-qpcpp icon indicating copy to clipboard operation
cpputest-for-qpcpp copied to clipboard

Added Zephyr posix example.

Open vChavezB opened this issue 2 years ago • 1 comments

This example demonstrates how to integrate the QPCPP port for CPPUTest with the Zephyr RTOS. The example consists of a mockup alarm driver that interacts with a QP::Active object. The tests are really basic but demonstrate how the API can be used and work along the Zephyr OS API.

A new workflow has been added to test that the example works for the zephyr posix board.

vChavezB avatar Apr 08 '23 22:04 vChavezB

My apologies for taking so long to think through this. I appreciate the effort, however I would rather an example of this sort not duplicate an existing functionality in the QP framework. In this case, the example is using an RTOS timer, but an active object should normally use the QP timers.

If you can think of another example that uses an RTOS facility (interrupt perhaps?) that QP does not already provide, then I would be open to that PR.

Thank you again!

mattheweshleman avatar Jul 04 '23 14:07 mattheweshleman