I’m creating a sketch.
Until four hours ago the result size was 22KB.
Then I went to eat and when I got back I added some more code (new functions etc), so the sketch (the sourcecode) got larger.
When I compiled it, the resulting image suddenly became 2.4KB, that is almost 10 times smaller than it was before dinner. It also does not work: it uploads but the arduino sits idle, not doing anything at all (first line of setup() is a serial.println()).
I then checked in the log-file of apt (debian package system) to verify that during my dinner no (system- or any other) updates had been done. In fact the last one was of days ago (the laptop has been rebooted since then).
So I retrieved the version of my program from just before dinner (I store everything in svn) and still the result is 2,4KB!
Slightly puzzled I de-installed arduino, arduino-core, avr-libc avrdude binutils-avr gcc-avr, I even rebooted and then re-installed the arduino package again: no change, still 2.4KB.
Anyone got any idea what on earth is going on here and how to resolve it?
gcopeland_recv_nrf24l01.ino (20.2 KB)