summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2021-09-29Merge branch 'master' of github.com:hathach/tinyusb into zhangslice-masterhathach
examples/device/hid_composite_freertos/src/FreeRTOSConfig/FreeRTOSConfig.h
2021-09-24Merge pull request #1103 from kasjer/kasjer/da146xx-close-cleanupHa Thach
dcd_da146xx: Remove registers pointer from xfer_ctl_t
2021-09-24dcd_da146xx: Implement dcd_edpt_close_all()Jerzy Kasenberg
Unconditionally disables all endpoints except EP0.
2021-09-24dcd_da146xx: Clear transfer data on dcd_edpt_closeJerzy Kasenberg
Closing endpoint clears data in affected xfer_ctl_t
2021-09-24dcd_da146xx: Remove registers pointer from xfer_ctl_tJerzy Kasenberg
Note: this commit does not change any logic. xfer_ctl_t structure keeps all dynamic data connected with transfer. It used to have pointer to register set that was constant and was there for convenience only. Removing register pointer from structure makes cleanup easier as whole structure can be erased with memset like function. In many cases functions were using local variable regs and xfer->regs which were same, that could be confusing so this part is unified. Few macros were added for easy conversion between epnum, xfer, and regs.
2021-09-18Merge pull request #1094 from kasjer/kasjer/da146xx-vbus-handlingHa Thach
dcd_da146xx: Add VBUS handling
2021-09-18Merge branch 'master' into zhangslice-masterhathach
2021-09-17dcd_da146xx: Add VBUS handlingJerzy Kasenberg
DA146xx are Bluetooth devices that may be battery powered and when not connected to USB host there is no need for USB peripheral to be running. This change allows to enable USB peripheral when VBUS is present otherwise USB is down reducing power consumption. tud_vsub_changed() function must be called whenever VBUS change was detected. For bus-powered devices this function should be called at startup since VBUS must be present while device is working.
2021-09-17minor clean uphathach
2021-09-17use correct resume detection for kl25zhathach
2021-09-17minor update to dcd khcihathach
2021-09-15Fix stall interrupt handlingkkitayam
2021-09-15merge master and minor clean uphathach
2021-09-15Merge branch 'master' of github.com:hathach/tinyusb into ↵hathach
kkitayam-impl_close_all_for_khci
2021-09-15Merge pull request #1062 from HiFiPhile/fifo_dcd_transdimensionHa Thach
Improvements for dcd_transdimension
2021-09-14Merge pull request #1087 from HiFiPhile/nuc_wkpHa Thach
NUC126: fix remote_wakeup
2021-09-13esp32sx implement dcd_remote_wakeup(), fully compliance to chapter9 test suitehathach
2021-09-13implement dcd_edpt_close_all(), pass chapter9 test suite (without remote wakeup)hathach
2021-09-13clean uphathach
2021-09-13clear PID along with clear stallhathach
2021-09-13Merge branch 'nuc_wkp' of https://github.com/HiFiPhile/tinyusb into ↵hathach
HiFiPhile-nuc_wkp
2021-09-13refactor nxp TDI dcd_edpt_xfer_fifohathach
2021-09-12Merge branch 'fifo_dcd_transdimension' of https://github.com/HiFiPhile/tinyusbhathach
2021-09-11nxp tdi: implement dcd edpt close allhathach
2021-09-11nxp tdi: fix error td prevent further transferhathach
2021-09-10reset PID to DATA0 on clear_stall.MasterPhi
2021-09-10Fix remote_wakeupMasterPhi
2021-09-10Shorter expr.MasterPhi
2021-09-10Fix dcd_edpt_clear_stall to reset data togglekkitayam
2021-09-09dcd_edpt_xfer_fifo: use qtd_init if restriction not met.Mengsk
2021-09-09nxp tdi: enhance qhd using DCD_ATTR_ENDPOINT_MAXhathach
2021-09-09nxp tdi implement remote wakeuphathach
enhance bus reset, unplugged, suspend, resume detection
2021-09-09remove connected check for DCD_EVENT_UNPLUGGED since previous bus reset can ↵hathach
clear this implement unplugged detection for trans dimension dcd
2021-09-09Fix stall handlingkkitayam
2021-09-08Implement dcd_edpt_close_all for NXP khcikkitayam
2021-09-08Merge pull request #1080 from hathach/rx-msc-complianceHa Thach
Renesas RX reset PID to DATA0 when open endpoint
2021-09-08Merge pull request #1077 from hathach/st-synopsy-complianceHa Thach
St synopsy compliance
2021-09-08reset PID to DATA0 when open endpointhathach
2021-09-08fix build with gd32vf103hathach
2021-09-08implement remote wakeup for stm synopsyshathach
2021-09-07make synopsys usbcv compliancehathach
- implement dcd_edpt_close_all() - reset dtoggle when open endpoint - correct dev interrupt mask on bus reset
2021-09-07Implement dcd_edpt_close_all() for Renesas RX familykkitayam
2021-09-01rp2040 implement dcd_edpt_close_all()hathach
aslo rename reset_ep0_pid() and clean up. We only need to reset pid when setup packet received
2021-09-01rp2040 correct ep set/clear stallhathach
- stall will remove pending (not complete) transfer. Correct reset data toggle when clear stall. - remove buf ctrl debug code
2021-08-31fix rp2040 chapter 9 TD 9.6 testhathach
2021-08-31add dcd_edpt_close and iso xfer.MasterPhi
2021-08-31dcd_transmission xfer_fifo support.MasterPhi
2021-08-31clear stall and reset data toggle when open edpthathach
required to pass one of msc test.
2021-08-29fix nrf clear data toggle sequence when clearing stallhathach
2021-08-29fix a couple of nrf dcd issuehathach
- limit out xact dma to prevent usbd overflow in certain situation after stalled - drained already acked data when stalling an OUT endpoint