Unless my memory fails me, the Arduino sketch compiles to about 1.7 KB for a Moteino Mega.
Sketch uses 1750 bytes (0%) of program storage space. Maximum is 253952 bytes.Global variables use 192 bytes (2%) of dynamic memory, leaving 8000 bytes for local variables. Maximum is 8192 bytes.
The Ddr-ArdMeg version compiles to 342 bytes.
Sketch uses 1678 bytes (0%) of program storage space. Maximum is 253952 bytes.Global variables use 338 bytes (4%) of dynamic memory, leaving 7854 bytes for local variables. Maximum is 8192 bytes.
I suppose I could have been clearer about that.
Is there some technical reason why the examples do not use the standard Arduino style with setup() and loop()?If they did I think it would make the whole thing more accessible to Arduino users?...R
No technical reason. I just felt that it wouldn't add the example per se. It's also trivial to add a setup() and a loop() to the main() in the example in the same way as it is done in Arduino's main.cpp.