summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-22Merge pull request #1526 from ccrome/chc-add-teensy-41Ha Thach
Added The Teensy 4.1 board
2022-06-21Update USBTMC descriptors to support high speed, set USB version to 2.0.0 ↵NConrad
for all cases.
2022-06-21Update USBTMC driver to support dynamic packet sizes (based on descriptor).NConrad
2022-06-21Added The Teensy 4.1 boardcaleb crome
The Teensy 4.1 board has an 8MB W25Q64JV as opposed to the 2MB flash on the Teensy 4.0. This largely doensn't matter for TinyUsb, except when you attempt to access any memory in the flash above the 2MB boundary, when it fails with a hard fault.
2022-06-21Merge pull request #1509 from liamfraser/rp2040_hcd_improvementsHa Thach
RP2040 HCD Improvements (Hub + Keyboard + Mouse working)
2022-06-18Merge pull request #1515 from maddyaby/dcd_edpt_closeHa Thach
Stub out dcd_edpt_close for samd
2022-06-18Merge pull request #1518 from mingpepe/masterHa Thach
Fix typo for log format
2022-06-17Allow more endpoint packet sizes for SAMDmaddyaby
Tested on SAMD51 - we can allow more packet sizes by checking that the set size value is greater than the requested packet size instead of exactly the same.
2022-06-17Re-add some warning suppression for rp2040graham sanderson
2022-06-17Merge pull request #1519 from kilograham/rp2040_shared_handlerHa Thach
rp2040: use shared IRQ handlers, so user can also hook the USB IRQ
2022-06-17rp2040: use shared IRQ handlers, so user can also hook the USB IRQgraham sanderson
2022-06-17Fix typo for log formatmingpepe
2022-06-17Merge pull request #1516 from hathach/fix-example-with-highspeedHa Thach
correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc exmaples
2022-06-17correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc ↵hathach
exmaples
2022-06-16Stub out dcd_edpt_close for samdmaddyaby
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.
2022-06-16Fix typo in audiod_rx_done_cb in audio_device.cMaddy
2022-06-16Merge pull request #1512 from kilograham/make_ram_code_optionalHa Thach
rp2040: make moving 1K of code into RAM optional - and off by default
2022-06-16rp2040: make moving 1K of code into RAM optional - and off by defaultgraham sanderson
2022-06-16Merge pull request #1480 from Ryzee119/multihub_rebaseHa Thach
Host: Add support for multi-level usb hubs
2022-06-16update readmehathach
2022-06-16add note for recursive calls of process_device_unplugged() in case of hubhathach
2022-06-13hcd_rp2040 improvements:Liam Fraser
- 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
2022-06-10Merge pull request #1506 from hathach/more-dynamic-rhportHa Thach
more dynamic controller for host
2022-06-10more dynamic controller for hosthathach
2022-06-10Merge pull request #1505 from hathach/revert-sof-renameHa Thach
revert sof_isr driver rename since it cause issue with existing code
2022-06-10revert sof_isr driver rename since it cause issue with existing codehathach
also removed commented tud_sof_isr_set() API
2022-06-08Merge pull request #1501 from hathach/more-rp2040-ramfuncHa Thach
make all hcd/dcd function used in isr into ram
2022-06-08make all hcd/dcd function used in isr into ram with ↵hathach
__no_inline_not_in_flash_func() for faster irq handling result is 1KB of code moved from rom -> ram
2022-06-08Merge pull request #1498 from hathach/add-tuh_config-port-specific-setupHa Thach
add tuh_configure() for port/dynamic host behavior config
2022-06-08add tuh_configure() for port/dynamic host behavior confighathach
2022-06-07Merge pull request #1496 from hathach/rp2040-sof-fastfuncHa Thach
add TU_ATTR_FAST_FUNC for audio sof isr call chain
2022-06-07add TU_ATTR_FAST_FUNC for audio sof isr call chainhathach
2022-06-07Merge pull request #1495 from hathach/enhance-tusb-configHa Thach
Better support multiple controllers configuration
2022-06-06update all host exampleshathach
2022-06-06more example updatehathach
2022-06-06clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of ↵hathach
CFG_TUSB_RHPORT0_MODE
2022-06-06Merge pull request #1481 from cr1901/msp430-misopt-fixHa Thach
msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.
2022-06-06more ci fixhathach
2022-06-06fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsphathach
2022-06-04update all dwc2 ports to support new dynamic controller supporthathach
2022-06-04Hub: Remove multi-level hub bypassRyzee119
2022-06-03make dwc2 stm32 rhport support dynamichathach
2022-06-03remove static port defined for device/hosthathach
2022-06-02nrf5x: Fix DMA accessJerzy Kasenberg
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.
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02add __evenaccess keyword for CCRX compiler compatibilityRafael Silva
Signed-off-by: Rafael Silva <[email protected]>
2022-06-02fix iso int register typo Rafael Silva
druing the renaming int and iso endpoint configurations were swapped Co-authored-by: Koji KITAYAMA <[email protected]>
2022-06-02fix host preprocessor flag typoRafael Silva
Co-authored-by: Koji KITAYAMA <[email protected]>
2022-06-02style code for consistency with existing codebaseRafael Silva