I want to change arduino fio bootloader to get watchdog support.
I tested this sketch on mine, and it keeps rebooting all time until I poweroff and on again and load other sketch.
#include <avr/wdt.h>
void setup(){
Serial.begin(9600);
wdt_enable (WDTO_8S);
}
void loop() {
Serial.println ("Entered loop ...");
wdt_reset (); // give me another second to do stuff (pat the dog)
while (true) ; // oops, went into a loop
}
So, I guess it doesn’t support it. I don’t mind to lose wireless programming capability, I will not use never so it doesn’t mind.