Thanks to Gunner I am now up and running!!
Have a noob question though:
I was used to the Arduino IDE environment and liked its look and feel. Is it possible to compile the main.cpp from this IDE or a similar environment? It is more difficult writing in the text editor and easier to make silly errors…
Arthur