summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2023-09-25adding host/cdc_msc_hid_freertos examplehathach
2023-09-18add default CFG_TUH_MAX3421 = 0, default spi speed for samd21/samd51 to 12Mhzhathach
2023-09-12Merge pull request #2245 from arduino/fix_msd_extraneus_bytes_on_readingHa Thach
Fix msd extraneus bytes on reading
2023-09-09minor renamehathach
2023-09-08wait_pipe_fifo_empty() now returns bool (as expected using TU_ASSERT macro)maidnl
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-07- wrap up hcd max3421, work well with nrf52840hathach
- also add usbh_defer_func()
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-28Merge branch 'master' into nxp_k64Ha Thach
2023-08-28rename OPT_MCU_KINETIS_K64 to OPT_MCU_KINETIS_Khathach
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-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-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
2023-08-18adding connection event handling, add nrf gpio interrupt for max2341e ↵hathach
interrupt pin
2023-08-18ground works for hcd max3421ehathach
2023-08-18- update nrf52 bsp for cmakehathach
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled - add hcd_template.c
2023-08-16minor commenthathach
2023-08-16clear qhd halted bit if not caused by STALL protocol, allow for next transferhathach
2023-08-09Merge pull request #2209 from HiFiPhile/hitlHa Thach
Enhance HITL test
2023-08-09update to dcd ip3511 to add work-around for lpc54628 usb hs errata USB.1 and ↵hathach
USB.2 msc is mounted, but device couldn't work reliably and got constant reset due to other errata probably.
2023-08-07code formathathach
2023-08-07Add tuh_rhport_is_active() and tuh_rhport_reset_bus()hathach
- also improve ehci bus reset - seperate bus reset delay and contact debouncing delay in enumeration
2023-08-04clean(ra_hcd): fix typos in the hcd libraryAladdin Bakosh
2023-08-04Merge branch 'master' into masterHa Thach
2023-08-04Merge branch 'master' into enhance-bsphathach
2023-08-03add lpc43 familyhathach
2023-08-01renesas: host: remove attach_attempt logicMartino Facchin
2023-08-01Merge branch 'arduino-renesas_ra_hs_rebased' into renesas_ra_hs_rebasedhathach
2023-08-01add rusb2_common.c for dynami irqhathach
2023-08-01rusb2: move dynamic irq function to c fileMartino Facchin
2023-07-31enable USBMC for uno r4, add board_init_after_tusb() APIhathach
add BOARD_UPPERCASE for board detection
2023-07-31enable_irq since uno bootloader can disable it. systick triggered, however ↵hathach
usb still not work with uno
2023-07-28add uno r4 wih FLASH_IMAGE_START=0x4000, running but interrupt (systick) ↵hathach
does not seems to work
2023-07-28- revert usb addresshathach
- more clean up