-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* import helper header * seperate usb buf init * move usb init in chibios driver handle the address set in a more elegant way * clean up some code move through sn32_usb use macros for ep dir * handle the setup interrupt * report back the frame no wake up directly * further deviate from usbhw.c call registers directly use chibios for reset interrupt party time * flag update * switch n/ack to simple macros * even more native * bye sonix mess * bring functions up to the docs * usb stop, setup error handling * further cleanup remove dead code cleanup headers add missing connect/dc functionality bring ep0 init to platform correct * usb restart is now working * attempt to fix wakeup * no more delay on init * fix the usb wakeup * improve the wakeup * make sure the direction is not set before init * only mess with one ep * need to enable the bus override too in order to control it * driver block checks * allow wakeup time override * dynamic sram allocation * remove useless ep naming * testing: remove packet limits * guard all i/o ops * better wakeup/suspend handling * remove dead code * code cleanup * make sure all ep's are handled
- Loading branch information
Showing
10 changed files
with
475 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/SN32/LLD/SN32F2xx/USB/hal_usb_lld.c | ||
PLATFORMSRC += $(CHIBIOS_CONTRIB)/os/hal/ports/SN32/LLD/SN32F2xx/USB/usbhw.c | ||
|
||
PLATFORMINC += $(CHIBIOS_CONTRIB)/os/hal/ports/SN32/LLD/SN32F2xx/USB |
Oops, something went wrong.