How to build - alex-konshin/f007th-rpi GitHub Wiki
There are several ways to do it. I actually cross-build this project in Eclipse on my Windows machine. You can look at this good instruction about setting up Eclipse for cross-compilation.
If you want to include MQTT support then please read this special instruction.