Commit Graph

5 Commits

Author SHA1 Message Date
Tobias Diedrich df120a1c1c Implement USB basics
This now manages to get detected as an HID keyboard by Linux, but does
not yet implement any keyboard scanning logic.
2022-01-10 20:56:08 +01:00
Tobias Diedrich a62584b7a8 Add tentative USB descriptors 2021-12-21 11:54:02 +01:00
Tobias Diedrich afc59d5d75 Add dispatch table helpers and test 2021-12-20 21:44:38 +01:00
Tobias Diedrich 0bf18ebf6f Initial version
Tested:
- UART debug output works at 115200 baud (pad S15)
- Jumps to bootloader on watchdog timeout
- Jumps to bootloader when Return is held while plugging in USB
- Jumps to bootloader when UTX/URX lines are shorted
- Measured max GPIO toggling speed is 3MHz
2021-12-19 16:28:26 +01:00
ranma 8378645f00 Initial commit 2021-12-19 16:21:56 +01:00