| Age | Commit message (Collapse) | Author |
|
exmaples
|
|
Not having this prevents the device from finishing the mounting process.
Tested on a SAMD51 and didn't seem to need to actually do anything in the close function.
|
|
|
|
rp2040: make moving 1K of code into RAM optional - and off by default
|
|
|
|
Host: Add support for multi-level usb hubs
|
|
|
|
|
|
- Stall now has priority over other interrupt responses
- Delete eunused hcd_edpt_busy
- Assert !ep->active when trying to start a new xfer
- Assert !ep->active when handling buff_status bits
- Set ep->xferred_len to 8 once a setup packet is finished so the data
structure is accurate
|
|
more dynamic controller for host
|
|
|
|
revert sof_isr driver rename since it cause issue with existing code
|
|
also removed commented tud_sof_isr_set() API
|
|
make all hcd/dcd function used in isr into ram
|
|
__no_inline_not_in_flash_func() for faster irq handling
result is 1KB of code moved from rom -> ram
|
|
add tuh_configure() for port/dynamic host behavior config
|
|
|
|
add TU_ATTR_FAST_FUNC for audio sof isr call chain
|
|
|
|
Better support multiple controllers configuration
|
|
|
|
|
|
CFG_TUSB_RHPORT0_MODE
|
|
msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There were two problems:
- dma_running flag could be checked in USB interrupt (not set yet) then higher priority
interrupt could start transfer, check dma_running (not set yet) set it to true start
DMA; then when USB interrupt continues it starts another DMA that is not allowed
- when DMA is started some registers can't be safely accessed, read can yield invalid
values (SIZE.EPOUT, SIZE.EPISO)
current implementation could start DMA for one OUT endpoint then check that another
endpoint also has data and while DMA was not started right away, SIZE.EPOUT was copied
already to MAXCNT register. Later on when DMA was started not all data was read from
endpoint due to incorrect DMA size previously set.
To prevent both cases dma_running is changed in atomic way.
Only code that actually set this value to true starts DMA, code that tried and
had dma_running flag already set simply defers DMA start to USB task.
This eliminates also need to have mutex that was there to limit access to dma_running flag
to one task only.
transfer also now has started flag that is set only after dcd_edpt_xfer() sets up total_len
and actua_len. Previously USB interrupt was disabled when total_len and actual_len were
setup to prevent race condition when data arrived to ednpoint before transfer was setup
was finished.
|
|
remove the usage of TUD_OPT_RHPORT in class driver
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
druing the renaming int and iso endpoint configurations were swapped
Co-authored-by: Koji KITAYAMA <[email protected]>
|
|
Co-authored-by: Koji KITAYAMA <[email protected]>
|
|
|
|
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible
Signed-off-by: Rafael Silva <[email protected]>
|
|
create local register access struct and move mcu specific code
in preparation of support for other mcu families that use the LINK usb core
Signed-off-by: Rafael Silva <[email protected]>
|
|
link was chosen according to the name for the usb core on datasheets, LINK core
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
Signed-off-by: Rafael Silva <[email protected]>
|
|
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
|
|
Fix compile error
|
|
|