Is there a way to reboot the T4 from within a sketch?
For example, here is a restart() function for the T3. How would we code a restart() for the T4?
#define RESTART_ADDR 0xE000ED0C
#define WRITE_RESTART(val) ((*(volatile uint32_t *)RESTART_ADDR) = (val))
void restart() {
WRITE_RESTART(0x5FA0004);
}
Thank you
For example, here is a restart() function for the T3. How would we code a restart() for the T4?
#define RESTART_ADDR 0xE000ED0C
#define WRITE_RESTART(val) ((*(volatile uint32_t *)RESTART_ADDR) = (val))
void restart() {
WRITE_RESTART(0x5FA0004);
}
Thank you