Hi,
Just tried using ceedling after testing out unity alone for a bit with Make.
I really just want coloured output :)
Since ceeding expects a .h file to have a corresponding .c I'm pretty sure it chooses the first one it finds in its list of sources.
The problem is that I have multiple files with the same names but in different sub directories and ceedling is building the wrong one which is causing errors.
1. Is there any way I can fix this issue?
2. a more general question on unit testing, if testing code with RTOS functions in it e.g.
xQueueSend() or
xTaskCreate() do I have to mock theses functions out in a test?
I was considering using the windows port but I see a lot of people mock them out.
Just not sure which functions to do that with.
Would I still mock these out if using the simulator?
3. I'm using an STM32F4 mcu with the STM32 HAL. If I change the register definitions to be variables so the tests can run on the host PC, what do I do with the startup and linker scripts or files which have assembly in them? do they just not get included in the build?
Sorry if these questions have obvious answers I just need to be sure I'm going down the correct path.
Thanks