bc2cb99780
Remove unreachable callback
2021-04-05 17:06:27 -04:00
fdc91f8d2c
Fix bug during initialization of DFU Mode
2021-04-05 16:48:09 -04:00
c5b8ef1529
Separate DFU RT and Mode. Untested
2021-04-05 16:32:58 -04:00
164d3e82e3
Fix incorrect DNLOAD request len passed to app
...
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-04-05 11:13:42 -04:00
fb7b47cf07
Minor cleanup
2021-03-26 17:32:03 -04:00
1138f8cc70
Add DFU Class per Version 1.1 Spec
2021-03-26 15:30:43 -04:00
ec08dcf61a
Implement requested changes for PR724
2021-03-17 09:25:01 -04:00
62d4652f86
Update usbtmc_device.c
...
Fix buffer alignment in TMC device class
2021-03-16 10:48:42 -04:00
21f1cd4ec7
Implement requested PR changes
...
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding
behavior standard. Replaced unused variable name with TU_RESERVED.
2021-02-18 13:26:03 -05:00
f8fbc0930b
Add alternate bitfield padding option
...
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-16 10:43:52 -05:00
09868434cd
Fixes RP2040 buffer reallocation overrun problem ( #642 )
...
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-12 08:16:46 +00:00
04ab6b4082
Merge pull request #648 from hathach/rename-dfu-rt-to-runtime
...
Rename dfu rt to runtime
2021-02-11 15:29:55 +07:00
d4281291e5
Merge pull request #647 from hathach/correct-fs-bulk-epsize
...
more epsize checking per type
2021-02-11 12:36:19 +07:00
e12c25ec2c
rename dfu_rt to dfu_runtime for easy reading
...
also rename tud_dfu_rt_reboot_to_dfu to tud_dfu_runtime_reboot_to_dfu_cb
2021-02-11 12:05:22 +07:00
9812cfc6c6
clean up
2021-02-11 11:48:34 +07:00
919bb9ce38
more epsize checking per type
2021-02-11 11:45:24 +07:00
49bc97b0ca
remove the requirement of std SET/CLEAR_FEATURE must not return zlp status
2021-02-11 11:22:02 +07:00
d2b8e591f6
tud_hid_report_complete_cb() API
...
update hid composite to make use of tud_hid_report_complete_cb() for
sending reports when possible.
2021-02-09 15:57:29 +07:00
ecd16cf24b
Merge pull request #637 from tfx2001/master
...
add basic support for rt-thread
2021-02-08 20:10:07 +07:00
1b678eccf5
add basic support for rt-thread
2021-02-08 20:46:49 +08:00
72bcc0685c
add tud_hid_n_gamepad_report() helper for gamepad report
...
- Add gamepad to hid_composite example. Though it needs a bit of extra
work but it will come later as separated PR.
2021-02-08 19:08:16 +07:00
b2019e4d71
enhance gampepad report with dpad/hat support
...
add hid_gamepad_report_t along with GAMEPAD_BUTTON_ and GAMEPAD_HAT_
enum
2021-02-08 16:10:13 +07:00
be1bd74b4b
Merge pull request #618 from homeodor/master
...
A CDC-like blocking behaviour for MIDI, incl. SysEx
2021-02-06 12:30:28 +07:00
465ea7a66e
increase TUSB_VERSION_ to 0.8.0
2021-02-05 22:37:22 +07:00
bb2f93d427
prepare for release
2021-02-05 20:41:41 +07:00
78f50518a4
Merge pull request #610 from hathach/rp2040-followup2
...
Rp2040 followup2
2021-02-01 12:44:53 +07:00
a044578a33
Merge pull request #601 from majbthrd/start_pi2tu
...
start the assimilation of Pi Pico into TU
2021-02-01 12:43:59 +07:00
2a34be2eb0
A CDC-like blocking behaviour
2021-01-30 04:11:08 +03:00
c4f7ea09f1
Fix midi sysex sending bug
2021-01-28 20:31:11 +11:00
1abf9eeb80
clean up rp2040 assigned_address, remove panic from remote_wakeup
2021-01-27 13:18:03 +07:00
c3c4f65fea
wrap rp2040_usb around opt mcu
2021-01-27 13:04:38 +07:00
045674745a
Merge pull request #604 from kamtom480/spresense-sdk-2.0.2
...
Update Spresense SDK and fix dcd issues
2021-01-25 22:55:46 +07:00
5f999fa6a0
Fix dcd issues on cxd56
...
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-25 11:13:56 +01:00
ec458292fe
fix host build
2021-01-25 13:25:47 +07:00
edc2224118
rp2040: start to adopt TU coding conventions
2021-01-23 20:21:58 -06:00
587d1b334b
rp2040_hcd: check pointer before using
2021-01-23 20:19:10 -06:00
67a9cdc35b
fix compiler warning
2021-01-22 11:33:25 +07:00
1e134cbb31
Merge branch 'master' into pico
2021-01-21 16:35:13 +07:00
e0aa405d19
RP2040 support
2021-01-19 19:52:07 -06:00
d33b22d127
fix ci
2021-01-08 22:48:52 +07:00
6e6e6265e4
use dcd_event_bus_reset() with speed to replace bus_signal
2021-01-08 22:34:36 +07:00
cca27fc383
another rename
2021-01-08 16:54:50 +07:00
201ea7ca6d
remove inline for update_grxfsiz
2021-01-08 16:38:41 +07:00
9998e8a665
more minor work
2021-01-08 16:34:36 +07:00
86c34a9a33
minor clean up following pr581
2021-01-08 16:25:30 +07:00
1f00a182c4
Merge pull request #581 from hathach/dcd_synopsis_mem_allocation
...
Dcd synopsis mem allocation
2021-01-08 12:45:46 +07:00
3e1d85eed2
comment clean up
2021-01-08 11:43:26 +07:00
cc5dfd03cd
update comment and correct the size to 8+2
2021-01-08 11:21:26 +07:00
60620dca42
walkround for samd21 setup_packet overflow
...
increase setup packet size from 8 to 12, since USB DMA controller is
suspected to overflow the buffer with 2 extra bytes
2021-01-08 01:21:03 +07:00
29f84b1602
change default CFG_TUD_HID_EP_BUFSIZE from 16 to 64
2021-01-07 11:58:05 +07:00