summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-04-22Remove nonstd behaviourJeremiah McCarthy
2021-04-22Move debug from .h to .cJeremiah McCarthy
2021-04-22Replace dfu_mode with dfuJeremiah McCarthy
2021-04-12Remove DFU mode and rtJeremiah McCarthy
2021-04-07Resolve gcc warnings for no parameter functionsJeremiah McCarthy
2021-04-07Revise per initial commentsJeremiah McCarthy
Returns the RT driver to the function state of previous iteration, which did not support the will_detach. Behavior should be fine without this feature. This removes much of the added bloat to track state, and handle requests in the APP_DETACH state which is no longer required. Removes the optional bloat added to the RT driver, such as responding to GETSTATE requests. Fixes the DFU Mode to extract the attr bits from the functional descriptor when opened. Fixes some incorrect bitwise if checks. Also, updates some naming of functions to be consistent with the rest of the library.
2021-04-05Add DFU runtime and mode "class"Jeremiah McCarthy
With the runtime and mode portions in separate classes, a single application should only be building with one or the other enabled. In some applications both might be desired at build time. The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks the application which mode to initialize to. This allows a runtime change between RT and DFU mode, by just reinitializing tusb.
2021-04-05Remove unreachable callbackJeremiah McCarthy
2021-04-05Fix bug during initialization of DFU ModeJeremiah McCarthy
2021-04-05Separate DFU RT and Mode. UntestedJeremiah McCarthy
2021-04-05Fix incorrect DNLOAD request len passed to appJeremiah McCarthy
Fixes bug where the app callback was getting the length of the status request transfer rather than the length of the data stage payload. TODO: Right now this returns the expected length, when it really should be returning the transfer length.
2021-03-26Minor cleanupJeremiah McCarthy
2021-03-26Add DFU Class per Version 1.1 SpecJeremiah McCarthy
2021-03-17Implement requested changes for PR724Jeremiah McCarthy
2021-03-16Update usbtmc_device.cMichael Bruno
Fix buffer alignment in TMC device class
2021-02-18Implement requested PR changesJeremiah McCarthy
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-16Add alternate bitfield padding optionJeremiah McCarthy
Adds configuration option CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, which substitutes bitfield variable " : 0" padding syntax with an unused variable of size equal to the remaining number of bits. This change resolves aligned access issues for some platforms. Default behavior is original if the option is not explicitly enabled.
2021-02-12Fixes RP2040 buffer reallocation overrun problem (#642)ndinsmore
Fix running out of memory on a device that repeatedly closes and opens an endpoint. This is a workaround at the moment. A better solution would be to implement reclaiming usb buffer memory when closing an endpoint (i.e. implement dcd_edpt_close).
2021-02-11Merge pull request #648 from hathach/rename-dfu-rt-to-runtimeHa Thach
Rename dfu rt to runtime
2021-02-11Merge pull request #647 from hathach/correct-fs-bulk-epsizeHa Thach
more epsize checking per type
2021-02-11rename dfu_rt to dfu_runtime for easy readinghathach
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11clean uphathach
2021-02-11more epsize checking per typehathach
2021-02-11remove the requirement of std SET/CLEAR_FEATURE must not return zlp statushathach
2021-02-09tud_hid_report_complete_cb() APIhathach
update hid composite to make use of tud_hid_report_complete_cb() for sending reports when possible.
2021-02-08Merge pull request #637 from tfx2001/masterHa Thach
add basic support for rt-thread
2021-02-08add basic support for rt-threadtfx2001
2021-02-08add tud_hid_n_gamepad_report() helper for gamepad reporthathach
- Add gamepad to hid_composite example. Though it needs a bit of extra work but it will come later as separated PR.
2021-02-08enhance gampepad report with dpad/hat supporthathach
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_ enum
2021-02-06Merge pull request #618 from homeodor/masterHa Thach
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-02-05increase TUSB_VERSION_ to 0.8.0hathach
2021-02-05prepare for releasehathach
2021-02-01Merge pull request #610 from hathach/rp2040-followup2Ha Thach
Rp2040 followup2
2021-02-01Merge pull request #601 from majbthrd/start_pi2tuHa Thach
start the assimilation of Pi Pico into TU
2021-01-30A CDC-like blocking behaviourAlexander Golovanov
2021-01-28Fix midi sysex sending bugMichael Himing
2021-01-27clean up rp2040 assigned_address, remove panic from remote_wakeuphathach
2021-01-27wrap rp2040_usb around opt mcuhathach
2021-01-25Merge pull request #604 from kamtom480/spresense-sdk-2.0.2Ha Thach
Update Spresense SDK and fix dcd issues
2021-01-25Fix dcd issues on cxd56Kamil Tomaszewski
Pass the next setup package when USB stack is ready to receive it. When the transfer is 0 on EP0 send complete to the USB stack Pass the data received after the setup package to the USB stack.
2021-01-25fix host buildhathach
2021-01-23rp2040: start to adopt TU coding conventionsPeter Lawrence
2021-01-23rp2040_hcd: check pointer before usingPeter Lawrence
2021-01-22fix compiler warninghathach
2021-01-21Merge branch 'master' into picoHa Thach
2021-01-19RP2040 supportgraham sanderson
2021-01-08fix cihathach
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2021-01-08another renamehathach
2021-01-08remove inline for update_grxfsizhathach