Implemented reboot() function for ARM-based MCUs