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:
parent
267b99dedb
commit
6ac1482862
9 changed files with 156 additions and 22 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue