summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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
2020-04-26clean up log messagehathach
2020-04-26fix missing debug log macroshathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-24synopsys: Reduce interrupt time for IN ZLPJerzy Kasenberg
For IN endpoints output FIFO is filled in interrupt, therefor before endpoint is enabled, DIEPTSIZ is set with correct size of packet. Then endpoint is enabled and FIFO empty interrupt is enabled. This works fine except for the ZLP. Enabling FIFO empty interrupt results in interrupt handler being called all the time because there is nothing to put in the FIFO. Eventually it ends when IN token is received and empty packed is transmitted out. This change does not enable FIFO empty interrupt for ZLP reducing CPU load.
2020-04-23Revert "Merge pull request #359 from versioduo/midi-flow-control"hathach
This reverts commit 1d33aa9b6f7940f9eac07ce684515856940175da, reversing changes made to 718db7e5369df57b0f49a563737e6e0446fd4c4d.
2020-04-23Merge pull request #376 from hathach/add-more-exampleHa Thach
Add dynamic configuration example
2020-04-23Merge pull request #374 from duempel/stm32f1_synopsys_supportHa Thach
Added support for STM32F1 Connectivity Line MCU
2020-04-22house keepinghathach
2020-04-22Added support for STM32F1 Connectivity Line MCUJan Dümpelmann
STM32F105 and STM32F107 are using the Synopsys IP
2020-04-22Merge branch 'master' into add-more-examplehathach
2020-04-22added swo as loggerhathach
tested with feather nrf52840 + jlink
2020-04-22Merge branch 'master' into add-rtthathach
2020-04-22Merge pull request #365 from pigrew/desc_tu_verifyHa Thach
tu_verify for getting descriptors
2020-04-22clean uphathach
2020-04-22Merge pull request #359 from versioduo/midi-flow-controlHa Thach
MIDI - Add flow control to incoming packet stream
2020-04-21sof is optional, revert other changes but remove unneeded check.Nathan Conrad
2020-04-20tu_verify for getting descriptorsNathan Conrad
2020-04-20add back MIDI multiple jackhathach
2020-04-20add extra comma to HID_REPORT_IDhathach
this make the template with Report ID look less weird to the user
2020-04-20add uart for ea4357hathach
2020-04-19MIDI - Add flow control to incoming packet streamKay Sievers
Larger SysEx transfers get corrupted by incoming packets. This changes the FIFOs not to overwrite their data. MIDI should not be a transport that drops packets. A potentially blocking device is easier to detect and handle than a device that silently corrupts the packet stream at random overflows, especially when SysEx messages are involved.
2020-04-19Merge pull request #258 from versioduo/midi-packetsHa Thach
MIDI packet interface
2020-04-18also add wakeup eventhathach
2020-04-18session end interrupt doesn't trigger on esp32 saola boardhathach
it is possibly due to the board design without vbus sense. Revisit later.
2020-04-18implement disconnection detection for stm32 synopsyshathach
- disconnection is OTG INT session end bit - add USE_SOF to disable 1ms interrupt on mcu which isn't used now by the stack - add suspend detection
2020-04-17fix typohathach
2020-04-17correct return for write flushhathach
2020-04-17add a bit of document for cdc device API. also improve cdc write flush when ↵hathach
complete.
2020-04-17Merge pull request #260 from majbthrd/cdczlpHa Thach
CDC device: fix behavior for transfers that are a whole multiple of endpoint buffer
2020-04-17complete remove dcd_set_config(), fix unit testhathach
2020-04-17Merge branch 'master' into remove-dcd-set-confighathach
2020-04-17Merge pull request #347 from majbthrd/nuc505_configHa Thach
nuc505: change dcd_set_config() behavior
2020-04-17Merge pull request #354 from hathach/cxd56-disconnect-connectHa Thach
Cxd56 disconnect connect
2020-04-17added disconnect for spresensehathach
2020-04-17mass rename tud/dcd_irq_handler to tud/dcd_init_handlerhathach
2020-04-17add code for disconnect/connect (not tested)hathach
2020-04-17Merge pull request #351 from hathach/valentyusb-dcd-disconnect-connectHa Thach
Valentyusb dcd disconnect connect
2020-04-17Merge pull request #350 from hathach/synopsys-msp430-dcd-disconnect-connectHa Thach
Synopsys msp430 dcd disconnect connect
2020-04-16Merge pull request #352 from hathach/samg-dcd-disconnect-connectHa Thach
samg implement dcd connect/disconnect