Hello there! I wonder if there is a guru who could give me some direction or fill in some of the blanks in my knowledge
I have compiled the Arduino 'Blink' sketch and was surprised at the resource it took: 21896 code bytes and 9700 data bytes (optimised for size) or 24288 code bytes and (again) 9700 data bytes (optimised for speed). The target board is the Fubarino-SD which uses a PIC32MX795F512.
For a program that consists of a single line in setup() and four lines in loop() this seems excessive. The sketch does not use any serial or USB ports, nor does it use I2C, etc. The sketch does use a single IO port and periodically toggles it by using delay().
A check in the etx file indicates that a whole raft of code has been included, (apparently) such as support for:
I would like to have better control over what is included by default. The final application of this board does not want to be encumbered by the likes of a task manager or support for non-existent peripherals.
Any suggestions and pointers appreciated!