Commit Graph

19 Commits

Author SHA1 Message Date
Ulf Lilleengen
1cfd5370ac
Merge pull request #3281 from elagil/ulpi_add_fs_support
feat: Add support for a full-speed ULPI mode
2024-08-25 06:05:41 +00:00
elagil
557cff7085 feat: Add support for a full-speed ULPI mode 2024-08-24 20:23:10 +02:00
ferris
0b87795937 Add OTG core DMA address registers 2024-08-13 17:31:52 +02:00
Dario Nieuwenhuis
7d65c5c4fa usb-synopsys-otg: ensure ep alloc fails when endpoint_count < MAX_EP_COUNT.
Before, it would alloc the endpoint fine and then panic later due to out of range.
This ensures it falis at ep alloc time, and with a panic message that says
what's the actual problem: "no free endpoints available".
2024-08-03 00:15:45 +02:00
Tarun Singh
a716a3f006 Reduced define for 'unreachable!' to a single macro rule 2024-07-17 17:05:52 -04:00
Dario Nieuwenhuis
6a4ac5bd60 Add collapse_debuginfo to fmt.rs macros.
This makes location info in defmt logs point to the code calling the macro,
instead of always to fmt.rs as before. Fix works with nightlies
starting with today's, and stable 1.81+.
2024-06-17 01:38:57 +02:00
Ulf Lilleengen
cf0d227cca Prepare for embassy-sync 0.6.0 release 2024-05-29 12:09:55 +02:00
Matt Ickstadt
9d6746e650 usb: add transceiver delay option 2024-05-21 14:42:37 -05:00
Matt Ickstadt
5a8ac21f6b embassy-usb-synopsys-otg: impl Sync for EpState
This restores the Send/Sync impls for EpState, which were incidentally
removed in #2881. This allows the Endpoints to be send to tasks, e.g.
as part of a custom class implementation.
2024-05-20 12:21:55 -05:00
Dario Nieuwenhuis
09781db85d embassy-usb-synopsys-otg: default vbus_detect to false. 2024-05-13 01:11:49 +02:00
Dario Nieuwenhuis
ecc910b76d Release embassy-usb-synopsys-otg v0.1.0 2024-04-30 17:24:32 +02:00
Dániel Buga
887d7e1430 Configure MAX_EP_COUNT via const generics 2024-04-27 18:01:45 +02:00
Dániel Buga
61e3ca049c Only access the necessary parts of State 2024-04-27 17:57:11 +02:00
Dániel Buga
7b4d2ab1be Group endpoint states into a per-endpoint struct 2024-04-27 17:18:40 +02:00
Dario Nieuwenhuis
5732ee7ca9 Reduce use of the full futures crate. 2024-04-26 23:22:25 +02:00
Dario Nieuwenhuis
597315873d Remove leftover cargo new boilerplate. 2024-04-26 22:59:50 +02:00
Dániel Buga
3dc54c8c44 Add some metadata 2024-04-26 18:28:41 +02:00
Dániel Buga
50aefb4174 Hide the Dir trait 2024-04-26 18:13:15 +02:00
Dániel Buga
91c42e0b9e Extract synopsys otg driver 2024-04-26 17:58:23 +02:00