Commit Graph

639 Commits

Author SHA1 Message Date
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
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
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
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
0fd074afd8 change REDUCE_SPEED=0/1 to explicitly SPEED=high/full
update readme, boards.md to add link to new stm boards
2020-07-08 16:29:48 +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
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
f6660c39a1 Add Stm32F7xxdisco board support files
Status with examples/device/cdc_msc:
- make BOARD=stm32f723disco        => OK
- make BOARD=stm32f723disco PORT=1 => No Reaction
- make BOARD=stm32f746disco        => OK
- make BOARD=stm32f746disco PORT=1 => Hangs during enumeration
- make BOARD=stm32f769disco        => Hangs during enumeration
2020-06-30 11:02:38 +02:00