summaryrefslogtreecommitdiff
path: root/src/device
AgeCommit message (Collapse)Author
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-26clean up log messagehathach
2020-04-26add usbd edpt openhathach
- RTT mode is blocking to prevent log lost - Improve logging message
2020-04-22Merge pull request #365 from pigrew/desc_tu_verifyHa Thach
tu_verify for getting descriptors
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-17complete remove dcd_set_config(), fix unit testhathach
2020-04-17Merge branch 'master' into remove-dcd-set-confighathach
2020-04-17mass rename tud/dcd_irq_handler to tud/dcd_init_handlerhathach
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-16Merge pull request #345 from hathach/add-alt-itfHa Thach
Implement setInterface(alt) for usb net driver
2020-04-16Remove transfer queue filtering. May need to be revisited later.Nathan Conrad
2020-04-16added dcd disconnect/connect to lpc17/40hathach
2020-04-16per reviewhathach
2020-04-15always response if GET_INTERFACE even if class driver does not support alt ↵hathach
interface
2020-04-15implement alternate setInterface() requesthathach
mostly forward these request (recipient = interface) to class driver.
2020-04-15use IAD to assign itf2drv mapping correctlyhathach
merge net_data back into net driver
2020-04-15add IAD for CDC ECM, remove EEM descriptor templatehathach
2020-04-15change cdc template protocol to Nonehathach
2020-04-15clean uphathach
2020-04-15clean uphathach
2020-04-15tested usbnet, completely remove class codehathach
2020-04-15remove class_code/subclass/protocol from driver structure, add name for logginghathach
2020-04-15Merge branch 'master' into class-driver-idhathach
2020-04-14usbnet: remove CDC-EEMPeter Lawrence
2020-04-15use class driver open() for interface support detectionhathach
tested with dfu_runtime
2020-04-14use explicit all_subclass and all_protocol since 0xFF is stil validhathach
2020-04-14Merge branch 'master' into edpt_closeNathan Conrad
2020-04-14complete adding subclass and protocol to driver idhathach
2020-04-14adding subclass & protocol to class driver structurehathach
2020-04-14Merge pull request #334 from majbthrd/usbnet_osagnosticHa Thach
usbnet: OS-agnostic (Windows/Linux/macOS) network driver
2020-04-13edpt_close: Remove item from queue instead of modifying it.Nathan Conrad
2020-04-13edpt_close: Updated based on feedback.Nathan Conrad
2020-04-13lpc17xx move set configdevice into set addresshathach
for removing dcd_set_config()
2020-04-12Skeleton, and initial stm32fsdev implementation (that leaks memory)Nathan Conrad
2020-04-12usbnet: OS-agnostic (Windows/Linux/macOS) network driverPeter Lawrence
2020-04-11Merge branch 'master' into refactor-irqhandlerHa Thach
2020-04-11Merge pull request #332 from pigrew/stm32fsdev-dcdconnectHa Thach
stm32fsdev: Implement dcd_connect.
2020-04-10Merge pull request #319 from hathach/add-esp32s2Ha Thach
port ESP32 S2
2020-04-10stm32fsdev: set dcd_connect API definitions to strong, Modify documentation.Nathan Conrad
2020-04-10fix uint32_t format with loghathach
2020-04-09stm32fsdev: Implement dcd_connect.Nathan Conrad
2020-04-09adding dcd_connect/disconnecthathach
2020-04-06call tud_irq_handler() for all nrf5x boardhathach
2020-04-06mass rename dcd_isr() to dcd_irq_handler()hathach
2020-04-06mass rename tud_isr to tud_irq_handlerhathach