summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-09-27Fix CI.Mengsk
2023-09-27Update IAR template.Mengsk
2023-09-19Merge pull request #2258 from hathach/cmake-u5Ha Thach
Cmake u5
2023-09-19minor indenthathach
2023-09-19fix build and add u5 to cihathach
2023-09-19addding cmake support for u5hathach
2023-09-12Merge pull request #2235 from slark-yuxj/masterHa Thach
fix:Resource leak: fp
2023-09-12Merge pull request #2245 from arduino/fix_msd_extraneus_bytes_on_readingHa Thach
Fix msd extraneus bytes on reading
2023-09-11Merge pull request #2251 from hathach/add-max3421e-hcdHa Thach
Add max3421e host driver
2023-09-11enable max3421 host for feather nrf52840 with makefilehathach
2023-09-11update readme to include max3421 supporthathach
2023-09-11wrap up build cmake & make support for max3421, to enable the Host driver, ↵hathach
'MAX3421_HOST=1' must be added as part of make/cmake command
2023-09-09both samd21/d51 works perfectly with max3421ehathach
2023-09-09refactor max3421_init() for samd51 to be generic for sercom and eichathach
2023-09-09minor renamehathach
2023-09-08wait_pipe_fifo_empty() now returns bool (as expected using TU_ASSERT macro)maidnl
2023-09-08metro m4 working with max3421ehathach
2023-09-08get spi working for metro m4 expresshathach
2023-09-08renesas: added wait function for IN transactionmaidnl
This fixes a problem found on MSD class where data read from from disks were sometimes partially overwritten by the status MSD message ("USBS..."). The function introduced wait for the hw fifo pipe to be empty, that prevent that new writing in the fife overwrite data which are not yet be transmitted by hw.
2023-09-07Merge branch 'master' into add-max3421e-hcdhathach
2023-09-07Merge pull request #2246 from hathach/add-cmake-samdHa Thach
Add cmake support for samd21 and samd51
2023-09-07more ci fixhathach
2023-09-07fix cihathach
2023-09-07add cmake support for samd21.hathach
update ci cmake
2023-09-07add samd51 to cmakehathach
2023-09-07- wrap up hcd max3421, work well with nrf52840hathach
- also add usbh_defer_func()
2023-09-06minor debug clean uphathach
2023-08-31vastly improve attach/detach device, still have issue where thing is still ↵hathach
hanged occasionally.
2023-08-31improve connection & disconnection detection. But there is still issue when ↵hathach
CONDETIRQ occurs but we are disabled interrupt (for osal queue access).
2023-08-30use ep buf to keep setup packet, work well with hid devicehathach
2023-08-30call xfer_complete_isr() when result is not successful (stalled or failed)hathach
2023-08-29- hcd_setup_send() also check for busy flaghathach
- xact_inout() to support send setup
2023-08-29- correct tuh_max3421e_int_api() for nrf52hathach
- hcd_int_disable/enable is software only to reduce interrupt lag
2023-08-28fix:Resource leak: fpyuxiaojun
Signed-off-by: yuxiaojun <[email protected]>
2023-08-28- add xfer_complete_isr()hathach
- merge addr0 ep to pool - add control status to xact in/out - use atomic flag busy to ensure only 1 transfer is active at any time - execute pending transfer after one is complete (or clear busy flag) - change rtt mode to block if full
2023-08-27minor updatehathach
2023-08-27more update to transactionhathach
2023-08-25try next endpoint when received NAKhathach
2023-08-25add xact_out(), xact_in() to manage transferhathach
2023-08-25use endpoint pool for more flexible multiple devices supporthathach
2023-08-25add osal mutex for spihathach
2023-08-25add spi lock with interrupt enable/disablehathach
2023-08-24save data toggle, always retry NAK. work with msc devicehathach
2023-08-24add tuh_max3421e_int_api(), retry control if received NAKhathach
2023-08-24complete enumerationhathach
2023-08-24Merge pull request #2142 from sjanc/symlinksHa Thach
Fix documentation symlinks
2023-08-23able to complete 1st get device descriptor and set addresshathach
2023-08-23able to get 8 byte descriptor, but read(RCVBC) always return 0hathach
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
2023-08-22able to send setup packethathach
2023-08-22able to detect new device and start enumeratinghathach