summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-06-15Enhance EP FIFO allocation for both Fullspeed and Highspeedhathach
- Update shared RX FIFO calculation with FS/HS - IN FIFO EP - Interrupt -> use EPSize - Bulk/ISO -> use max(EPSize, remaining-fifo / non-opened-EPIN)
2020-06-14cherry pick PR399 commit : Interrupt time improvementsJan Dümpelmann
2020-06-14overwrite setup packethathach
2020-06-14improve usbd log for control transferhathach
2020-06-14revert CFG_TUSB_RHPORT0_MODE to previous wayhathach
2020-06-01adding speed detect on bus resethathach
2020-06-01allow hs ep open with 512 byteshathach
2020-05-31fixed EP0 size to 64 since LS is not supported in device modehathach
- set turn-around and report actual speed in Enum Done - add dcd_event_bus_reset() helper to report speed
2020-05-31able to detect as hshathach
2020-05-27try to get synopsys work with OTG HS + external PHYhathach
2020-05-26random clean up for tdihathach
2020-05-26update h743eval with rhport=1 highspeedhathach
2020-05-26multiple port support for global otg basehathach
2020-05-26suporting multiple port (OTG FS + HS) for stm32hathach
2020-05-26merge CFG_TUSB_RHPORT1_MODE into CFG_TUSB_RHPORT0_MODEhathach
each port is 1 byte for easy maintenance
2020-05-21fix nrf hanged (blocking wait) when called within critical sectionhathach
2020-05-20fix freeRTOS logichathach
2020-05-20remove queue lock/unlock per reviewhathach
2020-05-20remove osal_queue_t const qhdl from osal APIhathach
since it doesn't make any differences.
2020-05-20added tud_task_event_ready()hathach
to check if there is pending events in the tud task without executing it. Useful to check before entering low power mode with WFI/WFE
2020-05-20added osal_queue_empty() APIhathach
ported for osal none/freertos/mynewt
2020-05-18fix cast-align warning for nuc505hathach
2020-05-17enable -Wcast-alignhathach
suppress vendor sdk driver at board.mk
2020-05-14refactor copy to and from fifohathach
2020-05-13Optimize FIFO for byte transfer.Mengsk
Signed-off-by: Mengsk <[email protected]>
2020-05-12Merge pull request #390 from hathach/detect-nrf-softdeviceHa Thach
detect if SD is actually present on the flash using SD magic
2020-05-08Add IAR compiler attribute and endian support.Mengsk
2020-05-08add CFG_TUSB_DEBUG_PRINTF() for log retargetinghathach
2020-05-08Merge pull request #393 from xobs/fix-debug-warningHa Thach
device: fix build warning when CFG_TUSB_DEBUG >= 2
2020-05-07device: fix build warning when CFG_TUSB_DEBUG >= 2Sean Cross
The function is defined inside of a function body which generates a warning. Circuit Python treats these warnings as errors, and so refuses to build with debugging enabled: ../../lib/tinyusb/src/device/usbd_control.c: In function 'usbd_control_xfer_cb': ../../lib/tinyusb/src/device/usbd_control.c:195:19: error: nested extern declaration of 'usbd_driver_print_control_complete_name' [-Werror=nested-externs] 195 | extern void usbd_driver_print_control_complete_name(bool (*control_complete) (uint8_t, tusb_control_request_t const *)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [../../py/mkrules.mk:55: build-simmel/lib/tinyusb/src/device/usbd_control.o] Error 1 Move the declaration to the top of the function to silence this warning. Signed-off-by: Sean Cross <[email protected]>
2020-05-05detect if SD is actually present on the flash using SD magichathach
even with SOFTDEVICE_PRESENT defined, SD may not be present on actual flash.
2020-05-04Merge pull request #387 from duempel/redesign_transmit_synopsysHa Thach
Redesign of Synopsys device transmission
2020-05-04clean upJan Dümpelmann
renaming function and variables changing indent size
2020-05-02abstract all UDP_CSRhathach
2020-05-02clean uphathach
2020-05-02fix EP0 data toggle issuehathach
2020-05-02remove toggle walkaround, fix control stall race conditionhathach
2020-04-30fix dcd samd race condition with setup packethathach
setup packet can complete together with previous status (in & out). Always make sure to prepare valid buffer for holding setup packet when queuing control status.
2020-04-29Changed switch into if statementsJan Dümpelmann
2020-04-29Redesign of Synopsys device transmissionJan Dümpelmann
Changes: - checking if tx buffer empty interrupt is masked - process more than one packet in isr - mask tx buffer empty just after all bytes were written - use of transmit_fifo_packet instead of transmit_packet
2020-04-29remove the use of TU_VERIFY_HDLRhathach
2020-04-29Merge pull request #383 from kasjer/kasjer/fox-busy-flag-race-conditionHa Thach
Fix endpoint busy flag race condition
2020-04-28fix typohathach
2020-04-27Fix endpoint busy flag race conditionJerzy Kasenberg
Busy flag was set to true after call to dcd_edpt_xfer(). In some cased it was possible that transfer finished before function ended. In this case busy flag could be set to false before it was set to true. Then setting it to true after dcd_edpt_xfer() made edpoint busy forever. This change marks endpoint as busy before transfer is started to avoid race condition.
2020-04-27added comment for hw clearing TXFEhathach
2020-04-27TXFE is read only bithathach
2020-04-26revert a change to net driverhathach
2020-04-26sync synopsis fix for esp32s2hathach
2020-04-26turn off TX FIFO Empty for EPIN if all bytes are writtenhathach
fix dcd synopsys issue with usbnet #289
2020-04-26add TODO for usbnet clean uphathach