UARTConnect enumeration working!

- Fixed cli reflash mode set
- Cleaned up debugging code
- 4 500 000 baud seems to be reliable
- Fixed master selection (assumes slave node unless USB enumerates)
This commit is contained in:
Jacob Alexander 2015-07-18 18:53:21 -07:00
parent 6c67bc77bc
commit 55d03f448e
9 changed files with 261 additions and 137 deletions

View file

@ -41,7 +41,7 @@ typedef enum UARTStatus {
UARTStatus_SYN = 1, // Rx: SYN Received, waiting for SOH
UARTStatus_SOH = 2, // Rx: SOH Received, waiting for Command
UARTStatus_Command = 3, // Rx: Command Received, waiting for data
UARTStatus_Ready = 4, // Tx: Ready to receive commands
UARTStatus_Ready = 4, // Tx: Ready to send commands
} UARTStatus;