summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2020-06-14cherry pick PR399 commit : Interrupt time improvementsJan Dümpelmann
2020-06-14overwrite setup packethathach
2020-06-09Add DCD for Dialog DA1469x MCUJerzy Kasenberg
Dialog Semiconductor's BLE MCU DA1469x comes with full speed USB. It's base on National Semiconductor discrete USB controller USBN9603/4. This adds support for: - control/interrupt/bulk endpoints (up to 64 bytes) - ISO endpoint were not tested and may not work correctly - reset/sleep/wakeup are handled - code for VBUS changes is provided
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-26multiple port support for global otg basehathach
2020-05-26suporting multiple port (OTG FS + HS) for stm32hathach
2020-05-21fix nrf hanged (blocking wait) when called within critical sectionhathach
2020-05-18fix cast-align warning for nuc505hathach
2020-05-17enable -Wcast-alignhathach
suppress vendor sdk driver at board.mk
2020-05-15Allow EP0 to use xfer sizes larger than one packetJan Dümpelmann
2020-05-15Interrupt time improvementsJan Dümpelmann
2020-05-08Synopsys OUT EP improvements:Jan Dümpelmann
- Use register based XFRSIZ to determine transfer complete (xfer->queued_len and xfer->short_packet were deleted) - Pop out as many RxFIFO data entries as available within a IRQ call - less application interruption due to XFRC calls
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-27added comment for hw clearing TXFEhathach
2020-04-27TXFE is read only bithathach
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-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-22Added support for STM32F1 Connectivity Line MCUJan Dümpelmann
STM32F105 and STM32F107 are using the Synopsys IP
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-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
2020-04-16Merge pull request #336 from pigrew/edpt_closeHa Thach
> If you notice my chain of events above, the bulk transfer was started BEFORE the SET_INTERFACE call. The USB device hardware swaps the order of them being delivered. On STM32, it gives priority to the lower-numbered EP index. It shouldn't be a matter, control is 2+ stage, before sending the setup. Host should stop all communication to the endpoint that It wants to close.
2020-04-16samg implement dcd connect/disconnecthathach
2020-04-16implement dcd disconnect connecthathach
2020-04-16add int enable/disable for pulluphathach
2020-04-16msp430 disconnect/connecthathach