Added more CLI commands.

- reset   -> Simulates power cycle (Not yet compatible with AVR)
- reload  -> Sets the device into firmware reload mode
- led     -> Toggles the error LED
- version -> Displays detailed version information (additions to CMake files was necessary, might have broken Windows builds...)
This commit is contained in:
Jacob Alexander 2014-01-23 02:01:12 -08:00
parent 267b99dedb
commit 6ac1482862
9 changed files with 156 additions and 22 deletions

View file

@ -596,7 +596,10 @@ void usb_tx(uint32_t endpoint, usb_packet_t *packet)
void usb_device_reload()
{
asm volatile("bkpt");
}
void _reboot_Teensyduino_(void)