667 Commits

Author SHA1 Message Date
Ha Thach
1e134cbb31
Merge branch 'master' into pico 2021-01-21 16:35:13 +07:00
graham sanderson
e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00
kkitayam
d7cfd8b91d replaced variable name to CMDEXE from UNAME.
removed the rule that .d files are converted to .P files.
2021-01-14 01:19:43 +09:00
kkitayam
8fa083d79e added support for cmd.exe as a shell on make. 2021-01-11 15:56:16 +09:00
hathach
fc18cd4cbb skip overflow sram examples for kl25 2020-12-25 23:20:45 +07:00
hathach
94527951a0 add bus suspend & resume support for esp32s2 2020-11-27 15:54:55 +07:00
hathach
494e125432 more ci 2020-11-24 00:47:06 +07:00
hathach
409a5fb7fc fix ci build 2020-11-24 00:18:18 +07:00
hathach
7860469661 comment out and add note for tud_cdc_connected() in cdc_msc examples 2020-11-24 00:06:59 +07:00
hathach
4b4f880785 add tud_ready() check in tud_cdc_n_write_flush()
other clean up
2020-11-23 23:40:13 +07:00
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
Ha Thach
a708ab6254
Merge pull request #553 from hathach/host-async-control
Host async control
2020-11-07 10:52:14 +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
437ccac696 implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / tuh_msc_get_maxlun() 2020-10-13 13:23:33 +07:00
hathach
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
hathach
b5d4c8185d Merge branch 'master' into host-async-control 2020-10-11 16:22:12 +07: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
hathach
89bf4fa04c Merge branch 'master' into house-keeping 2020-10-09 13:49:05 +07:00
hathach
344d589a35 use pyocd for iMXRT boards 2020-10-09 13:48:08 +07:00
Zachery Littell
298aa1b669 Cleanup per review on PR 2020-10-08 11:59:12 -05:00
hathach
e8b3af038e add flash-pyocd support 2020-10-08 17:19:48 +07:00
hathach
ec018fbf4e clean up jlink default interface 2020-10-08 17:17:37 +07: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
Reinhard Panhuber
142871654e Merge remote-tracking branch 'upstream/master' into uac2 2020-09-28 18:08:39 +02:00
hathach
25bb8830c5 doc: merge example/readme.md into docs/getting_started.md 2020-09-12 09:26:41 +07:00
hathach
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
hathach
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