Implement watchdog for LM3S