Commit Graph

529 Commits

Author SHA1 Message Date
b572983cc8 group esp32s2 board into its group 2020-11-27 22:31:47 +07:00
94527951a0 add bus suspend & resume support for esp32s2 2020-11-27 15:54:55 +07:00
494e125432 more ci 2020-11-24 00:47:06 +07:00
409a5fb7fc fix ci build 2020-11-24 00:18:18 +07:00
7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
4b4f880785 add tud_ready() check in tud_cdc_n_write_flush()
other clean up
2020-11-23 23:40:13 +07:00
308028e17c Merge branch 'master' into cdc_without_dtr 2020-11-23 23:25:55 +07:00
61ad7bef71 migrate vendor device to new control xfer cb 2020-11-20 15:50:11 +07:00
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
e7069da7eb Reset CDC examples to original state 2020-11-18 09:47:39 +01:00
5456afa8ee update microchipo driver submodule 2020-11-08 18:09:53 +07:00
1b1e205a30 clean up 2020-11-08 12:40:20 +07:00
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
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
af9f0f1cd6 Merge remote-tracking branch 'hathach/master' into cdc_without_dtr 2020-11-04 17:11:01 +01:00
67ac40b98d house keeping: make tu_print_mem format easier to compare with hex2dump 2020-11-01 13:37:56 +07:00
a097b7e51a net_device: re-factor code so as to not be specific to lwIP 2020-10-24 20:27:57 -05:00
43cb5fabfd Merge pull request #538 from kasjer/kasjer/uac2
audio: Add headset example
2020-10-16 22:08:07 +07:00
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
56277ce216 net_lwip_webserver: efficiency tweaks 2020-10-14 20:26:40 -05:00
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
35fae201fb net_lwip_webserver: tweak main.c comments with smartphone suggestions 2020-10-10 16:49:45 -05:00
762b390433 Merge pull request #521 from PanRe/uac2
Uac2
2020-10-10 14:33:42 +07:00
a85c4ee11d Fix unused parameter in audio test. 2020-10-09 21:59:52 +02:00
14ff7313ee Fix minor issue in audio example. 2020-10-09 20:36:35 +02:00
63f18cef19 Extend example s.t. a saw tooth is sent. 2020-10-09 20:15:57 +02:00
13abcb953f rename multiple hid callback 2020-10-09 20:24:10 +07:00
2e464c5015 clean up example 2020-10-09 13:57:23 +07:00
2219068371 rename hid multiple interface 2020-10-09 13:50:55 +07:00
298aa1b669 Cleanup per review on PR 2020-10-08 11:59:12 -05:00
db3fe97f62 fix variable names. add itf n callbacks to multihid 2020-10-07 20:36:00 -05:00
3f54c27afa fix audio_test build 2020-10-07 13:36:03 +07:00
081af79009 fix simple pull request comments. Implement descriptor index hack. 2020-10-02 16:02:00 -05:00
e21ab8d4a9 create hid multiple interface example 2020-10-01 13:15:37 -05:00
e09ebea7b9 Remove tud_cdc_connected check from examples 2020-09-04 17:25:32 +02:00
12562fc966 Merge remote-tracking branch 'upstream/master' into uac2 2020-09-04 16:23:39 +02:00
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
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
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
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
787c891702 add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00
8e1290e51e minor clean up 2020-07-19 13:13:21 +07:00
6ddee1b5cf more update 2020-07-18 01:07:44 +07:00
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
fea6fb73a1 add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun 2020-07-16 13:04:10 +07:00
ed065691ef fix unintended changes to webusb example 2020-07-16 00:55:19 +07:00
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
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
f82655a212 correct EP Size for cdc dual and webusb example 2020-07-06 18:55:31 +07:00
400c2d2e50 correct led dfu_rt example
also add example usage note
2020-06-30 23:26:51 +07:00