summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-08fix stm32 fsdev epdeschathach
2020-03-08fix zlp for nrf52840hathach
2020-03-08fix log printfhathach
2020-03-07Merge pull request #291 from hathach/port-samg55Ha Thach
Port samg55
2020-03-04usbnet RNDIS correctionPeter Lawrence
2020-03-03Merge pull request #287 from majbthrd/usbnetHa Thach
add CDC-ECM/RNDIS/CDC-EEM network device class with example
2020-03-03update net class to follow API naming conventionPeter Lawrence
2020-03-03Merge pull request #280 from majbthrd/nuc505Ha Thach
add Nuvoton NUC505
2020-03-02add CDC-ECM/RNDIS/CDC-EEM network device class with examplePeter Lawrence
2020-02-26Add langid support to descriptor string callback.Chang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-02-19add a number for esp32-s2Andrei Gramakov
2020-02-07add Nuvoton NUC505Peter Lawrence
2020-02-07correct waklaround with only status INhathach
correct usb descriptor msc dual example to work with samg
2020-02-07samg55 work with cdc msc examplehathach
2020-02-07Merge branch 'master' into port-samg55hathach
2020-02-07implement walkaround for incorrect DATA Toggle for status control.hathach
2020-02-07more log for debugginghathach
2020-01-25added support for Nuvoton NUC120Peter Lawrence
2020-01-17rt10xx: correct max endpoint count is 8hathach
2020-01-17clean up, disable SOF for dcd trans since we don't use it for nowhathach
2020-01-17clean uphathach
2020-01-17Merge branch 'master' into develophathach
2020-01-17Merge pull request #274 from tannewt/dcacheHa Thach
Clean and invalidate the DCache when we have one.
2020-01-16Add if guards for dcache flushes.Scott Shawcroft
2020-01-16MIDI: Add packet interfaceKay Sievers
This changes the internal buffering to the raw 4-byte messages. The conversion of the messages to a byte-stream moved to the read/write methods. It adds a raw packet interface to send and retrieve the raw 4-byte USB MIDI message: static inline bool tud_midi_receive (uint8_t packet[4]); static inline bool tud_midi_send (uint8_t const packet[4]); MIDI USB packets carry virtual cable/wire/plug data in the packet header, which cannot be exported in the byte-stream interface. The raw packet interface allows to send and and receive the complete USB message.
2020-01-15flush and invalidate the dcacheScott Shawcroft
2020-01-16Merge branch 'master' into nucbusresetHa Thach
2020-01-16correct return value of midid_xfer_cbhathach
2020-01-16Merge branch 'master' into line_endingsHa Thach
2020-01-15nuc121: survive USB bus resetPeter Lawrence
2020-01-15nuc121: enhanced driver and hopefully added readabilityPeter Lawrence
2020-01-15Normalize line endingsNathan Conrad
2020-01-15nuc121: better fix for handling large OUT transfersPeter Lawrence
2020-01-14nuc121: fix handling of OUT transfers larger than max packet sizePeter Lawrence
2020-01-15Merge pull request #269 from antmicro/volatile_buffers_fixSean Cross
dcd_eptri: Fix rx_buffer/tx_buffer volatile annotation
2020-01-14dcd_eptri: Fix rx_buffer/tx_buffer volatile annotationMateusz Holenko
This makes `rx_buffer` and `tx_buffer` *pointers* volatile in order to avoid caching them in a register. The original notation meant "a pointer to a volatile value" (equivalent of `volatile uint8_t *`). This resulted in `while(rx_buffer[ep_num] != NULL) ;` loop to get stuck forever, even though the IRQ handler set the `rx_buffer[ep_num] = NULL`.
2020-01-11CDC device: help ensure code is consistent with the size of the buffers it ↵Peter Lawrence
operates on
2020-01-11CDC device: fix behavior for transfers that are a whole multiple of endpoint ↵Peter Lawrence
buffer
2020-01-11Merge pull request #240 from majbthrd/masterHa Thach
implement multiple interfaces support
2020-01-07Merge branch 'master' into nuc121Ha Thach
2020-01-05Merge pull request #254 from majbthrd/multi-setconfigHa Thach
gracefully handle multiple SET_CONFIGURATION requests
2020-01-04dcd_nuc121: allow user ZLP transfers to get a callbackPeter Lawrence
2020-01-04add Nuvoton NUC121/NUC125/NUC126Peter Lawrence
2019-12-30fix missing parentheses in TU_MIN and TU_MAX macros (#256)majbthrd
2019-12-30Let device respond to endpoint requests on EP0 (#251)Jeremy Herbert
Since endpoint 0 is used for control requests, it doesn't have a class driver attached to it. As such, the corresponding `_usbd_dev.ep2drv` entry points to driver `0xFF`, which is invalid and this makes the `TU_ASSERT(drvid < USBD_CLASS_DRIVER_COUNT);` line fail, and eventually causes an endpoint stall. So as-is the stack cannot respond to any endpoint requests on endpoint 0. However, standard requests on endpoint 0 do not need a class driver to produce a valid response. This commit changes the order of execution so that the assert is only checked if the endpoint is not 0.
2019-12-28gracefully handle multiple SET_CONFIGURATION requestsPeter Lawrence
2019-12-28implement multiple interfaces supportPeter Lawrence
2019-12-27fix #247hathach
2019-12-26clean uphathach
2019-12-26merge dcd_samd51 & dcd_samd21 into dcd_samdhathach