Commit Graph

3634 Commits

Author SHA1 Message Date
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
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
Ha Thach 6f8d0d2c34
Merge pull request #531 from majbthrd/mimxrt1010stack
mimxrt1010_evk: double stack size to allow net_lwip_webserver to run
2020-10-09 00:48:08 +07:00
Ha Thach c2a0612885
Merge pull request #524 from zlittell/f_MultipleHIDInterfaces
Feature multiple hid interfaces
2020-10-09 00:28:13 +07:00
Zachery Littell a4ba1f0827 Fix tu_verify args 2020-10-08 12:08:13 -05:00
Zachery Littell 298aa1b669 Cleanup per review on PR 2020-10-08 11:59:12 -05:00
Jerzy Kasenberg d36bfddc30 DA146xx: Allow transmitting of packets larger then 64 bytes
FIFO is limited to 64 bytes yet MCU is capable of transmitting
larger packets provided that FIFO will be filled on the fly
and USB_USB_TXCx_REG_USB_LAST_Msk bit is set after FIFO is
filled with all the data that should be transmitted.

This change allows to use FIFO level warning interrupt to fill
FIFO. When DMA is available it will be used instead of interrupts.
Some function names were changed to better reflect what each function
does.
2020-10-08 13:20:58 +02:00
Jerzy Kasenberg 33a5081bd1 DA146xx: Add support for ISO endpoints
Few changes were needed to have working ISO endpoints.
2020-10-08 13:20:58 +02:00
Jerzy Kasenberg 6615dd9062 DA146xx: Add dcd_edpt_close
Closing endpoints can be important when there are alternate
instances. This adds functionality of closing endpoints
similar to what exists in other drivers.
2020-10-08 13:20:58 +02:00
Jerzy Kasenberg 9edf4334c4 DA146xx: Allow receiving of packets larger then 64 bytes
Internal FIFO for each endpoint is limited to 64 bytes.
It is possible to have longer packets if respective FIFO
is read during actual packet transmission.
This change updates receive data path to allow packets (and
endpoint size) larger then 64 bytes.
If DMA is not used yet DMA is setup for reception of big packets.
If DMA is already assigned to some transfer, code enables FIFO level
warning interrupts and tries to read data before FIFO is filled up.
2020-10-08 13:20:58 +02: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
Ha Thach 30c23719f6
Merge pull request #528 from jgressmann/port-atsame51-to-tinyusb
Adds files for the open source D5035-01 hardware
2020-10-08 13:46:41 +07:00
Zachery Littell db3fe97f62 fix variable names. add itf n callbacks to multihid 2020-10-07 20:36:00 -05:00
Peter Lawrence ed94e944c9 mimxrt1010_evk: double stack size to allow net_lwip_webserver to run 2020-10-07 13:15:58 -05:00
Jean Gressmann 3295b5692b D5035-01 bsp: fix typo 2020-10-07 19:27:55 +02:00
Jean Gressmann f02b5bfdfa Address various issues raised by TinyUSB maintainers
- remove OPT_MCU_SAME51 in favor of OPT_MCU_SAME5X and working around
  differences in the Atmel bsp locally in the D5035-01 bsp.

- rename board folder to d5035_01 for consistency with other boards
2020-10-07 19:19:30 +02:00
Ha Thach 6442f5afdb
Merge pull request #530 from hathach/fix-idf-latest
fix usb pin config with idf latest
2020-10-07 21:04:56 +07:00
hathach d407341d1e fix usb pin config with idf latest 2020-10-07 19:15:53 +07:00
Reinhard Panhuber f700c08aed Remove CFG_TUD_AUDIO_TX_DMA_RINGBUFFER_SIZE which is not needed any more 2020-10-07 10:57:12 +02:00
PanRe 230c93a641
Merge pull request #3 from hathach/PanRe-uac2-fix-build
Pan re uac2 fix build
2020-10-07 10:19:58 +02:00
Ha Thach 440e23c491
Merge pull request #529 from gh2o/stm32-race
stm32 fsdev: fix ISTR and CTR_RX/TX race conditions
2020-10-07 15:16:55 +07:00
hathach 74a1404bea tab -> spaces 2020-10-07 13:36:27 +07:00
hathach 3f54c27afa fix audio_test build 2020-10-07 13:36:03 +07:00
Gavin Li 020ad47bb0 stm32: fix ISTR and CTR_RX/TX race conditions 2020-10-06 14:43:10 -07:00
Jean Gressmann f92fe1e23e D5035-01: more natural Makefile variable use 2020-10-06 17:39:36 +02:00
Jean Gressmann a2379060b6 Adds D5035-01 to the list of supported boards 2020-10-06 17:36:11 +02:00
hathach d41248900b Merge branch 'uac2' of https://github.com/PanRe/tinyusb into PanRe-uac2 2020-10-06 22:32:22 +07:00
Jean Gressmann 1730a5dcba D5035-01 bsp: fix paths, default to hw rev 1 (automated build) 2020-10-05 20:30:04 +02:00