This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How did nordic mock headers like app_timer.h with many dependencies?

hello , I'm using Ceedling (Unity + Cmock) to integrate unit-testing on my embedded project but i face many issues to mock some nordic headers.

Can you please share some tips on how to mock headers like nrf_drv_gpiote.h or app_timer.h . These files have a lot of dependencies. When i use CMock or the fake function framework it take me a lot of time to mock the nordic headers, so maybe i missed something...

I'm using Ceedling, it will help me also if you can share your configuration file.

Thank you.





Related