summaryrefslogtreecommitdiff
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-17Revert "Add Linux support to tmc example"Jeremiah McCarthy
This reverts commit dc2f00cca157dc2279f917f59f9607fcd17b3fdb.
2021-03-17Implement requested changes for PR724Jeremiah McCarthy
2021-03-16Add Linux support to tmc exampleJeremiah McCarthy
Replaces visa include with pyvisa, as visa use with PyVISA is being deprecated.
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 examples folder dfu_rt to dfu_runtimehathach
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-11Merge pull request #646 from hathach/detect-clear-set-ep-status-from-classHa Thach
remove the requirement of std SET/CLEAR_FEATURE must not return zlp status
2021-02-11clean uphathach
2021-02-11more epsize checking per typehathach
2021-02-11Merge pull request #645 from ipopov/webserial-fixHa Thach
Fix unintended control transfers in webserial example.
2021-02-11remove the requirement of std SET/CLEAR_FEATURE must not return zlp statushathach
2021-02-10Address review comments:Ivo Popov
- every switch must have a default - revert formatting of unchanged lines
2021-02-10Merge pull request #644 from ipopov/masterHa Thach
Set -DCMAKE_BUILD_TYPE=Debug when building in debug for rp2040.
2021-02-10Fix unintended control transfers in webserial example.Ivo Popov
2021-02-10Set -DCMAKE_BUILD_TYPE=Debug when building in debug for rp2040.Ivo Popov
This ensures that the Pico SDK, too, is built in debug mode and with nice debugging symbols.
2021-02-09Merge pull request #641 from lurch/fix_capitalisationHa Thach
Fix capitalisation of Raspberry Pi
2021-02-09Merge pull request #640 from hathach/add-hid-complete-callbackHa Thach
2021-02-09Fix capitalisation of Raspberry PiAndrew Scheller
2021-02-09update hid_composite_freertos examplehathach
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-08Merge pull request #638 from hathach/add-gamepadHa Thach
Enhance HID Gamepad with DPad/Hat
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-08clean uphathach
2021-02-07Mirror sources only to hathach/tinyusb_src repo (#636)Ha Thach
Mirror sources only to hathach/tinyusb_src repo
2021-02-06Merge pull request #618 from homeodor/masterHa Thach
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-02-06CDC-like blocking behaviour for MIDIAlexander Golovanov
Also added a dummy readout for MIDI into examples
2021-02-05Merge pull request #634 from hathach/release-0.8.00.8.0Ha Thach
Release 0.8.0
2021-02-05increase TUSB_VERSION_ to 0.8.0hathach
2021-02-05correct release assethathach