Define a main() function
Define a main() function

This allows compiling Arduino sketches that only define a setup() and
loop() function. However, by making the main() function weak, it is
still possible to override it in programs that define their own main()
function.

matthijskooijman/ArduinoUnix,matthijskooijman/ArduinoUnix