Commit Graph

3829 Commits

Author SHA1 Message Date
Jacob Potter 3ea8138750 Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
This was a confusing name; "Ethernet control model" (CDC ECM)
and "network control model" (CDC NCM) are two separate USB subclasses.
2020-10-31 10:57:53 -06:00
Ha Thach 8f0f2d1863
Merge pull request #544 from hathach/use-stm-driver-repo
Use stm driver repo
2020-10-30 14:39:30 +07:00
hathach 1e7af854c2 remove st_driver submodule 2020-10-30 14:21:29 +07:00
hathach a6efe475e7 use cmsis 5 for all stm32 2020-10-30 14:14:28 +07:00
hathach 4f3ac8c492 add CMSIS_5 submodule 2020-10-30 14:08:54 +07:00
hathach 6e7f2064cf add more stm mcu 2020-10-30 14:05:01 +07:00
hathach 3b890d2391 l4 use offical st driver repo 2020-10-30 14:01:05 +07:00
hathach ac231d7b2d l0 use offical st driver repo 2020-10-30 13:40:20 +07:00
hathach 3659d8e89a h7 use offical st driver repo 2020-10-30 13:28:14 +07:00
hathach b9ca7e91df f7 use offical st driver repo 2020-10-30 13:20:09 +07:00
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