Commit Graph

3869 Commits

Author SHA1 Message Date
hathach 1e02f6e066 f3 use offical st driver repo 2020-10-30 13:11:23 +07:00
hathach bbcf2d7e01 f2 use offical st driver repo 2020-10-30 13:01:01 +07:00
hathach 8850ea90b4 f1 use offical st driver repo 2020-10-30 12:55:54 +07:00
hathach 092f7baec0 random clean up 2020-10-30 12:49:43 +07:00
hathach 41a36b1256 f0 use offical st driver repo 2020-10-30 12:48:34 +07:00
hathach e4eb2de401 f4 use offical st driver repo 2020-10-30 12:15:04 +07:00
Ha Thach 065991e011
Merge pull request #543 from majbthrd/net_tweaks
net_device: re-factor code so as to not be specific to lwIP
2020-10-26 23:43:24 +07:00
Ha Thach 566a623038
Merge pull request #541 from j4cbo/internal-phy
Allow use of internal FS PHY on OTG_HS interface
2020-10-25 13:51:11 +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
Jacob Potter 229be75a98 Move into if statement 2020-10-24 17:16:05 -06:00
Jacob Potter 01996457c8 CR feedback: compare CFG_TUSB_RHPORT1_MODE instead of using new macro 2020-10-24 17:11:32 -06:00
Peter Lawrence f5b72f5796 net_device: tweak 'pbuf chain' implementation 2020-10-24 17:29:47 -05:00
Jacob Potter c87ed8eff1 Allow use of internal FS PHY on OTG_HS interface
Some ST parts (like STM32F74xxx / STM32F75xxx) allow the USB_OTG_HS core to be used with
either an external high-speed ULPI PHY or an internal full-speed-only (12mbps) PHY. Currently
the code assumes than an ULPI PHY is used unless the chip has an internal high-speed PHY
(`#if defined(USB_HS_PHYC)`), with no provision to use the internal FS PHY.
2020-10-18 17:01:17 -06: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
Ha Thach 9aba24343c
Merge pull request #539 from majbthrd/nettweaks
net_lwip_webserver: efficiency tweaks
2020-10-16 10:05:09 +07:00
Jerzy Kasenberg 8669fd7383 audio: Add two channel feature unit descriptor
Feature unit descriptor size depends on number of channels.
So far only single channel feature unit was present.
This change adds feature unit descriptor for two channels.
2020-10-15 15:37:40 +02:00
hathach 4e4aa26fb6 add samd21 xplained pro to boards.md doc 2020-10-15 11:57:30 +07:00
Ha Thach 723070bf88
Merge pull request #534 from majbthrd/atsamd21_xpro
bsp: add ATSAMD21-XPRO eval board
2020-10-15 11:53:32 +07:00
Peter Lawrence 56277ce216 net_lwip_webserver: efficiency tweaks 2020-10-14 20:26:40 -05:00
Peter Lawrence 042ca2375e bsp: atsamd21_xpro: removed no longer needed workaround 2020-10-14 09:15:26 -05:00
Ha Thach 41083cb67a
Merge pull request #536 from kasjer/kasjer/fix-osal-queue-definition
osal_none: Fix queue definition
2020-10-13 23:04:33 +07:00
Jerzy Kasenberg db70a35044 osal_none: Fix queue definition
OSAL_QUEUE_DEF was not updated while FIFO was changed
to use unmasked pointers.

Two fields that are crucial to new functionality were left
uninitialized resulting in FIFO slowing down in time.
2020-10-13 16:34:44 +02:00
hathach 3623f578a4 more clean up 2020-10-13 14:11:17 +07:00
hathach d92d1a03ca clean up 2020-10-13 13:45:22 +07: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 87b989e8b4 add usbh_edpt_claim/release
implement USBH_EVENT_FUNC_CALL
2020-10-12 00:35:45 +07:00
Peter Lawrence e10358bfab bsp: add ATSAMD21-XPRO eval board 2020-10-11 12:06:15 -05:00
hathach b5d4c8185d Merge branch 'master' into host-async-control 2020-10-11 16:22:12 +07:00
Ha Thach 6ce5395947
Merge pull request #525 from kasjer/kasjer/da1469x-iso
da1469x iso support
2020-10-11 16:12:20 +07:00
Ha Thach 80c509a0f3
Merge pull request #520 from salkinium/feature/misc_enhancements
STM32F3 IRQ remap option and some minor improvements
2020-10-11 14:55:06 +07:00
Niklas Hauser 7fda95f508 Remap USB IRQs on STM32F303 BSP 2020-10-11 09:27:43 +02:00
Ha Thach 736a6ff09a
Merge pull request #535 from hathach/update-microchip-driver
update microchip driver
2020-10-11 13:48:07 +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
Ha Thach b8dcc90f2e
Merge pull request #533 from majbthrd/netsmartphone
net_lwip_webserver: tweak main.c comments with smartphone suggestions
2020-10-11 12:56:47 +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
Niklas Hauser f914e48d25 Dynamically check STM32F3 IRQ remap option 2020-10-10 05:02:37 +02: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
Reinhard Panhuber 032e84c9be Revert dcd_alloc_mem_for_conf() but keep changes from @kasjer for ISO EP
Add tud_audio_set_itf_close_EP_cb()
2020-10-09 19:50:05 +02:00
Ha Thach 8a07b9b9c0
Merge pull request #532 from hathach/house-keeping
House keeping
2020-10-09 21:25:17 +07:00
hathach 3fd38ddf04 fix ci build 2020-10-09 21:10:59 +07:00
hathach 8cf1ed6e4e try GITHUB_PATH for ci 2020-10-09 21:01:52 +07:00
hathach 8ba0c362cc update tud_hid_boot_mode_cb/tud_hid_set_idle_cb support mul interfaces
also clean up code
2020-10-09 20:51:20 +07: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