Robert Fisk
cf1d5da8e8
Build options complete & tested:
...
- Implement SCSI WP flag in mode parameter header
- Refactor #ifdef names
- #ifdef out more HID code
8 years ago
Robert Fisk
3a94c2c863
Implemented optional build for mass storage, keyboard, and mouse
...
(Upstream). Also implemented read-only mass storage mode.
Todo:
- Test. Everything!!!
- Report write protect flag in SCSI "mode parameter header" (whatever
that is)
8 years ago
Robert Fisk
e63525f868
Don't freakout when wakeup-from-sleep fails during keyboard report out.
8 years ago
Robert Fisk
46ecbd410d
After an epic battle, suspend/resume/wakeup is now supported.
...
It turns out that suspend support on the STM32 USB core is buggy as
heck. Host mode cannot resume after suspend, and device mode cannot
receive resume or send wakeup signalling.
I managed to fake resume support by keeping Downstream and our connected
device running at full power, and simulating a wakeup event to the host
by disconnecting/reconnecting Upstream from the host.
8 years ago
Robert Fisk
9b2b8972a4
Incomplete and untested implementation of keyboard support
8 years ago
Robert Fisk
b7298c5f65
Restructure & bugfix Upstream HID. Still some issue with Downstream...
9 years ago
Robert Fisk
4d9e26b6ef
Upstream HID bugfixes.
9 years ago
Robert Fisk
e8a445a071
Work on Downstream HID support. Also a bunch of random tweaks.
9 years ago
Robert Fisk
c3c4d47145
Mouse Upstream code half-done.
9 years ago
Robert Fisk
1262c5337a
All tabs to spaces
9 years ago
Robert Fisk
58308c4a89
Added Mozilla Public License information to file headers.
...
Mozilla Public License v2.0 is compatible with the various licenses used
by ST and ARM.
9 years ago
Robert Fisk
b9cc31d036
Crazy hardware issues, about to revert Upstream SPI from DMA to
...
interrupt transfers
9 years ago
Robert Fisk
750c2f3a21
- Implement notification of Downstream USB device removal, and
...
corresponding Upstream disconnection
- Improve Upstream handling of TxOk signal from Downstream
- Misc tweaks
9 years ago
Robert Fisk
f24714cd8c
Revisit Upstream project to:
...
- Implement Upstream state machine, with Downstream-dependent device
emulation
- Add fault LED flashing
- Improve fault handling and freakouts
- Misc bug fixes
9 years ago