AnsweredAssumed Answered

Unit tests for FreeRTOS / NXP MCU

Question asked by Greg Banderet on Mar 23, 2018
Latest reply on Apr 2, 2018 by Erich Styger



We are starting a new project based on a K66 (Cortex-M4). We plan to use MCUxpresso and FreeRTOS.

We would like to unit test most of our code. What's the best approach for that? Is there any Windows/Linux simulation mode (of the MCU peripherals and of FreeRTOS)?

I'm curious to learn about what the community is doing for their unit tests. Do you compile your sources in another environment? Do you run your tests on the target?

For our previous project we were using Keil uVision and its Windows simulator. That way we were able to use CppUTest framework with that simulation mode.


Thank you for sharing your experience,