Hello,
I'm in the process of setting up CppUTest for an embedded environment. We are currently working on a STM32F4 or similar and are heavily using eclipse CDT to develop and build our code.
After a couple days of trial and error, I've managed to compile and run our current firmware on a host PC using MinGW. I've also managed to compile CppUTest with Cygwin, and have it run on a test eclipse project, and everything seems to be working as it should.
The issue I'm having is that i'm unable to either compile our firmware using Cygwin, or CppUtest with MinGW. One of the main issues with compiling our firmware is that we are using FreeRTOS, and it turns out that FreeRTOS have a windows port which makes it much easier to compile the firmware for windows. The problem is that the port is only for MinGW.
I noticed that The 3.7.1 release notes on github have following:
"Two corrections to 3.7:
- MinGW compilation (now automated)
- MakefileHelper compilation error on OsX"
I was hoping that this meant that there was an easy was to compile it using MinGW. Unfortunately i'm unable to figure it out. I've tried compiling CppUTest with MinGW by generating the make files with Cmake, but that didn't work.
I was wondering if someone could guide me on how to build it with MinGW?
Thanks,
Alex