Adding automatic port swapping to ICPad

- Works the same as the bootloader variant, waits 1000 ms before attempting to swap
  Only swaps if USB not already intialized
  If USB never initializes, will swap forever

TODO
- Stop swapping if UARTConnect detected and initialized
This commit is contained in:
Jacob Alexander 2015-12-12 15:16:57 -08:00
parent 571c7ad35a
commit 415a0aab52
5 changed files with 274 additions and 0 deletions

View file

@ -0,0 +1,14 @@
Name = PortSwapCapabilities;
Version = 0.1;
Author = "HaaTa (Jacob Alexander) 2015";
KLL = 0.3d;
# Modified Date
Date = 2015-10-23;
# Cross interconnect pins, required for complex cabling arrangements
portCross => Port_cross_capability();
# Capability to swap the USB port mapping
portSwap => Port_swap_capability();