Commit Graph

651 Commits

Author SHA1 Message Date
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
a708ab6254 Merge pull request #553 from hathach/host-async-control
Host async control
2020-11-07 10:52:14 +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
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
437ccac696 implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / tuh_msc_get_maxlun() 2020-10-13 13:23:33 +07:00
9c07a2a4e2 rework msc host
- msc host enum is now async
- implement async tuh_msc_scsi_command() / tuh_msc_request_sense() /
tuh_msc_test_unit_ready()
2020-10-13 00:07:51 +07:00
b5d4c8185d Merge branch 'master' into host-async-control 2020-10-11 16:22:12 +07: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
89bf4fa04c Merge branch 'master' into house-keeping 2020-10-09 13:49:05 +07:00
344d589a35 use pyocd for iMXRT boards 2020-10-09 13:48:08 +07:00
298aa1b669 Cleanup per review on PR 2020-10-08 11:59:12 -05:00
e8b3af038e add flash-pyocd support 2020-10-08 17:19:48 +07:00
ec018fbf4e clean up jlink default interface 2020-10-08 17:17:37 +07: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
142871654e Merge remote-tracking branch 'upstream/master' into uac2 2020-09-28 18:08:39 +02:00
25bb8830c5 doc: merge example/readme.md into docs/getting_started.md 2020-09-12 09:26:41 +07:00
66a10ec9c8 rework usbh control transfer
use series of complete callback instead of blocking semaphore, which is
more noOS friendly. still working with hid host
2020-09-07 15:19:20 +07:00
828f720207 refactor hub class
- separate connect/disconnect handling
- hub work with full speed, but doesn't seem to work with Low speed
device (with mcb1800)
- need to update msc host after migrating from isr to xfer_cb (blocked
at inquiry)
2020-09-05 20:20:45 +07:00
9531e47d10 update example to test with mouse 2020-09-05 14:59:07 +07:00
12562fc966 Merge remote-tracking branch 'upstream/master' into uac2 2020-09-04 16:23:39 +02:00
5fb3d439b3 update ci to also build host example 2020-09-04 01:32:30 +07:00
865ebf7c5d fflush(stdout) for keyboard host example 2020-09-04 00:50:10 +07:00
7828c396db keyboard host work as proof of concept 2020-09-04 00:23:57 +07:00
35aee4a6af more hid host work 2020-09-03 23:57:51 +07:00
ef651e0734 fix #449 remove obsolete pipehandle from hid host 2020-09-03 17:07:29 +07:00
f4e3c6fd8e clean up 2020-09-01 17:12:31 +07:00
be708bb8a4 Merge branch 'master' into update-host 2020-09-01 12:02:25 +07: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
0407cfe16c fix samd21 race condition with setup packet
reproduced with Adafruit_TinyUSB_ArduinoCore port commit 11d669b4d2a40eb2fc5e51b2a9707a6de9d42363 and SAMD BSP 1.6.1
2020-07-23 01:39:15 +07:00
787c891702 add note for MS OS 1.0 Descriptor at 0xEE 2020-07-21 21:00:11 +07:00