Commit Graph

3694 Commits

Author SHA1 Message Date
Ha Thach 589dfdb0e5
Merge pull request #554 from hathach/initial-same7x
Initial same7x
2020-11-09 11:22:29 +07:00
hathach 496c7c701a fix ci 2020-11-09 01:23:19 +07:00
hathach 7ab3da1e03 same70 xplained uart via edbg work with board_test 2020-11-09 01:01:05 +07:00
hathach 89b92b54a7 same70 xplained led and button works wiht board_test example 2020-11-09 00:13:56 +07: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
hathach 23b6b66f4d release 0.7.0 with changelog and doc update 2020-11-07 23:43:39 +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
hathach 2907b1e438 clean up 2020-11-07 10:37:33 +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
Ha Thach 075334af80
Merge pull request #547 from hathach/cdc-auto-write-flush
enable cdc auto flush on write()
2020-11-03 11:42:17 +07:00
Ha Thach b05827b502
Merge pull request #546 from hathach/use-same51-from-asf4
use same51 driver to adafruit asf4 submodule
2020-11-03 11:38:14 +07:00
Ha Thach 720909e7f8
Merge pull request #545 from j4cbo/master
Rename CDC_COMM_SUBCLASS_ETHERNET_NETWORKING_CONTROL_MODEL
2020-11-02 22:07:05 +07:00
hathach 6fcd540cb6 enable cdc auto flush on write()
if there is enough data in the fifo
2020-11-02 16:50:46 +07:00
hathach 958a4e1b5d use same51 driver to adafruit asf4 submodule 2020-11-02 15:44:12 +07:00
hathach 14461beffa remove legacy blocking usbh_control_xfer()
reworking cdc host driver
2020-11-02 09:19:34 +07:00
hathach 2efdc2fb64 get hub work more reliably 2020-11-02 08:46:24 +07:00
hathach 6eafdfab93 update usbh with hub to use async control transfer
work ok with msc + hub, but definitely need more testing.
2020-11-02 00:54:04 +07:00
hathach e029d6d726 added host set_config driver
to resolve control conflict with SET_CONFIGURE for class driver
- open will be called to open endpoint only
- set_config called later to initialized class driver
2020-11-01 17:46:46 +07:00
hathach 67ac40b98d house keeping: make tu_print_mem format easier to compare with hex2dump 2020-11-01 13:37:56 +07:00
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