Ha Thach
308028e17c
Merge branch 'master' into cdc_without_dtr
2020-11-23 23:25:55 +07:00
hathach
61ad7bef71
migrate vendor device to new control xfer cb
2020-11-20 15:50:11 +07:00
Jan Dümpelmann
6a72cc5d48
Changes to CDC example code:
...
- auto flush welcome message at connection event
- provide information to the user if the terminal did not set DTR
2020-11-18 10:16:32 +01:00
Jan Dümpelmann
e7069da7eb
Reset CDC examples to original state
2020-11-18 09:47:39 +01:00
hathach
5456afa8ee
update microchipo driver submodule
2020-11-08 18:09:53 +07:00
hathach
1b1e205a30
clean up
2020-11-08 12:40:20 +07:00
Ha Thach
ef99d37c97
Merge pull request #551 from dobairoland/master
...
Make the disk disappear on Windows after it was ejected
2020-11-08 12:37:53 +07:00
Roland Dobai
4c99c5ff5c
Make the disk disappear on Windows after it was ejected
...
Make the disk disappear on Windows after it was ejected. The device
need to be re-inserted or reseted to re-appear again.
This doesn't affect Linux where the device can be mounted and unmounted
repeatedly.
Closes https://github.com/hathach/tinyusb/issues/549
2020-11-05 15:35:26 +01:00
Jan Dümpelmann
af9f0f1cd6
Merge remote-tracking branch 'hathach/master' into cdc_without_dtr
2020-11-04 17:11:01 +01:00
hathach
67ac40b98d
house keeping: make tu_print_mem format easier to compare with hex2dump
2020-11-01 13:37:56 +07:00
Peter Lawrence
a097b7e51a
net_device: re-factor code so as to not be specific to lwIP
2020-10-24 20:27:57 -05:00
Ha Thach
43cb5fabfd
Merge pull request #538 from kasjer/kasjer/uac2
...
audio: Add headset example
2020-10-16 22:08:07 +07:00
Jerzy Kasenberg
a5581b10df
audio: Add headset example
...
This example code creates USB Audio 2.0 headset device.
Device has two audio interfaces first stereo speaker
with 48kHz stereo stream.
Second interface for microphone with 48kHz mono stream.
This example can be used to start working on audio device.
It can be also used to verify ISO endpoints for boards.
Speaker adaptive clock (bound to SOF).
Microphone for now has asynchronous clock.
Volume and mute control while present are not used for data stream
modification.
2020-10-16 08:52:26 +02:00
Peter Lawrence
56277ce216
net_lwip_webserver: efficiency tweaks
2020-10-14 20:26:40 -05:00
hathach
b8e7e2b7c9
update microchip driver
...
also skip audio_test for same5x for now due to assert() macro conflict
2020-10-11 13:33:06 +07:00
Peter Lawrence
35fae201fb
net_lwip_webserver: tweak main.c comments with smartphone suggestions
2020-10-10 16:49:45 -05:00
Ha Thach
762b390433
Merge pull request #521 from PanRe/uac2
...
Uac2
2020-10-10 14:33:42 +07:00
Reinhard Panhuber
a85c4ee11d
Fix unused parameter in audio test.
2020-10-09 21:59:52 +02:00
Reinhard Panhuber
14ff7313ee
Fix minor issue in audio example.
2020-10-09 20:36:35 +02:00
Reinhard Panhuber
63f18cef19
Extend example s.t. a saw tooth is sent.
2020-10-09 20:15:57 +02:00
hathach
13abcb953f
rename multiple hid callback
2020-10-09 20:24:10 +07:00
hathach
2e464c5015
clean up example
2020-10-09 13:57:23 +07:00
hathach
2219068371
rename hid multiple interface
2020-10-09 13:50:55 +07:00
Zachery Littell
298aa1b669
Cleanup per review on PR
2020-10-08 11:59:12 -05:00
Zachery Littell
db3fe97f62
fix variable names. add itf n callbacks to multihid
2020-10-07 20:36:00 -05:00
hathach
3f54c27afa
fix audio_test build
2020-10-07 13:36:03 +07:00
Zachery Littell
081af79009
fix simple pull request comments. Implement descriptor index hack.
2020-10-02 16:02:00 -05:00
Zachery Littell
e21ab8d4a9
create hid multiple interface example
2020-10-01 13:15:37 -05:00
Jan Dümpelmann
e09ebea7b9
Remove tud_cdc_connected check from examples
2020-09-04 17:25:32 +02:00
Reinhard Panhuber
12562fc966
Merge remote-tracking branch 'upstream/master' into uac2
2020-09-04 16:23:39 +02:00
hathach
9d3a9cf546
add OPT_MCU_SAMD11
...
skip ci build for example that need more ROM/RAM could fit into SAMD11
2020-08-22 18:46:19 +07:00
Reinhard Panhuber
c14f68e2c1
Commit before sharing.
...
Setup a test example - UNTESTED!
Missing: Start transmitting audio data in set_interface.
2020-08-19 21:07:43 +02:00
Ha Thach
78f1576e93
Merge pull request #412 from hathach/fix-net-cast-align
...
suppress cast-align warnings for net device driver
2020-07-29 11:23:11 +07:00
hathach
503c15217e
example to call tud_init() after freeRTOS kernel is started
...
add note for usb init when using with RTOS
2020-07-23 09:20:45 +07:00
hathach
787c891702
add note for MS OS 1.0 Descriptor at 0xEE
2020-07-21 21:00:11 +07:00
hathach
8e1290e51e
minor clean up
2020-07-19 13:13:21 +07:00
hathach
6ddee1b5cf
more update
2020-07-18 01:07:44 +07:00
hathach
5ca748a68e
rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZE
...
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16 15:34:16 +07:00
hathach
fea6fb73a1
add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun
2020-07-16 13:04:10 +07:00
hathach
ed065691ef
fix unintended changes to webusb example
2020-07-16 00:55:19 +07:00
hathach
706413f751
add tud_speed_get()
...
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-16 00:44:09 +07:00
Ha Thach
dbced9911d
Merge pull request #447 from hathach/add-stm-hs
...
Add support for STM32 OTG HS core
2020-07-08 19:47:24 +07:00
hathach
f82655a212
correct EP Size for cdc dual and webusb example
2020-07-06 18:55:31 +07:00
hathach
400c2d2e50
correct led dfu_rt example
...
also add example usage note
2020-06-30 23:26:51 +07:00
Uwe Bonnes
62239bb576
cdc-acm: Use 512 bytes when in HS mode.
...
Removes error:
config 1 interface 2 altsetting 0 bulk endpoint 0x3 has invalid maxpacket 64
while enumerationg.
2020-06-30 11:02:41 +02:00
hathach
ab75998316
Merge branch 'master' into add-stm-hs
2020-06-30 01:55:57 +07:00
hathach
50b569ad1b
added esp32s2 kaluga bsp
2020-06-29 16:52:08 +07:00
hathach
c67b3a242e
update example config and descriptor with better Highspeed support
2020-06-15 23:34:09 +07:00
hathach
e89fea8237
update midi
2020-06-15 23:09:43 +07:00
hathach
0bfa839ac0
clean up, update other example config
2020-06-15 23:06:17 +07:00