Commit Graph

5884 Commits

Author SHA1 Message Date
TravisRo 8f8990aa58 Fix compile errors for high speed devices
Added high speed descriptors though I'm not sure if the CH341 driver will work as a high speed device.

Changed "buffer size" define names in tusb_config to clarify whether we are specifying fifo buffer sizes or endpoint max packet sizes
2022-06-16 12:20:09 -06:00
TravisRo 103153e976 Fixed compiler errors
unused parameters
const static / static const
TUSB_OPT_DEVICE_ENABLED / CFG_TUD_ENABLED
CFG_TUD_MAX_SPEED=TUSB_SPEED_FULL
2022-06-16 09:06:19 -06:00
TravisRo 74bf3cce70 Merge branch 'master' of https://github.com/TravisRo/tinyusb 2022-06-16 05:03:13 -06:00
TravisRo 7572956f2e
Merge branch 'hathach:master' into master 2022-06-16 04:58:23 -06:00
TravisRo 4c66812422 Add missing CFG_TUD_CH341 define 2022-06-16 04:55:13 -06:00
Ha Thach d7b579a978
Merge pull request #1480 from Ryzee119/multihub_rebase
Host: Add support for multi-level usb hubs
2022-06-16 16:33:48 +07:00
hathach 2036a0b62a update readme 2022-06-16 14:41:10 +07:00
hathach f4a7b5b80c add note for recursive calls of process_device_unplugged() in case of hub 2022-06-16 14:37:57 +07:00
TravisRo 176d2455bb
Merge branch 'hathach:master' into master 2022-06-10 09:01:09 -06:00
TravisRo d63da66134 Fix compile errors related to sof/sof_isr renaming 2022-06-10 08:59:44 -06:00
TravisRo 42ed9a52af Fix compile errors when using latest branch 2022-06-10 08:59:06 -06:00
TravisRo 3b84243061 include ch341_device
Add ch441_device.c to rp2040/family.cmake. Add ch341_device.h include to tusb.h
2022-06-10 08:58:17 -06:00
Ha Thach eb7d359efc
Merge pull request #1506 from hathach/more-dynamic-rhport
more dynamic controller for host
2022-06-10 15:24:26 +07:00
hathach 040ef0640d more dynamic controller for host 2022-06-10 14:53:03 +07:00
TravisRo 28fdb19716 Add CH341 example to CMakelist and rules 2022-06-10 01:29:28 -06:00
TravisRo 08447d9ed3 Add CH341 example
Add CH341 example
2022-06-10 01:28:34 -06:00
TravisRo 85ad2c68ba Add CH341 to built-in driver list
Add CH341 to built-in driver list (CFG_TUD_CH341)
2022-06-10 01:27:55 -06:00
TravisRo 478361529c Add CH341 class driver
Add CH341 class driver.  This is not really a class but rather CH341 emulation firmware. It allows any supported general purpose microcontroller to appear to the host as a CH341 device (IC)
2022-06-10 01:27:07 -06:00
Ha Thach 96fecedabe
Merge pull request #1505 from hathach/revert-sof-rename
revert sof_isr driver rename since it cause issue with existing code
2022-06-10 12:00:42 +07:00
hathach 8451d05c50 revert sof_isr driver rename since it cause issue with existing code
also removed commented tud_sof_isr_set() API
2022-06-10 01:45:48 +07:00
Ha Thach 806806d61b
Merge pull request #1501 from hathach/more-rp2040-ramfunc
make all hcd/dcd function used in isr into ram
2022-06-08 17:29:19 +07:00
hathach dd035b0eb2 make all hcd/dcd function used in isr into ram with __no_inline_not_in_flash_func() for faster irq handling
result is 1KB of code moved from rom -> ram
2022-06-08 16:08:53 +07:00
Ha Thach 8c4b142b9e
Merge pull request #1498 from hathach/add-tuh_config-port-specific-setup
add tuh_configure() for port/dynamic host behavior config
2022-06-08 15:36:37 +07:00
hathach 8cbc34de11 add tuh_configure() for port/dynamic host behavior config 2022-06-08 01:17:01 +07:00
Ha Thach 896c707cd4
Merge pull request #1496 from hathach/rp2040-sof-fastfunc
add TU_ATTR_FAST_FUNC for audio sof isr call chain
2022-06-07 13:38:26 +07:00
hathach 06392247eb add TU_ATTR_FAST_FUNC for audio sof isr call chain 2022-06-07 11:50:50 +07:00
Ha Thach a03a03d74e
Merge pull request #1495 from hathach/enhance-tusb-config
Better support multiple controllers configuration
2022-06-07 01:13:08 +07:00
hathach 7c8278303b update all host examples 2022-06-06 23:16:49 +07:00
hathach 9794a2b865 more example update 2022-06-06 22:41:04 +07:00
hathach f4c80dd218 clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE 2022-06-06 17:35:17 +07:00
Ha Thach afd9b1883d
Merge pull request #1481 from cr1901/msp430-misopt-fix
msp430x5xx: Add fix for possible bug in msp430-elf-gcc 9.3.0.
2022-06-06 15:37:45 +07:00
hathach 1b08672945 more ci fix 2022-06-06 13:25:48 +07:00
hathach 7187cd9a85 fix ci, remove use of CFG_TUSB_RHPORT0_MODE in bsp 2022-06-06 12:51:10 +07:00
hathach f626916a57 update all dwc2 ports to support new dynamic controller support 2022-06-04 23:52:12 +07:00
Ryzee119 7df7590f7f Hub: Remove multi-level hub bypass 2022-06-04 18:58:20 +09:30
hathach 31134f41a1 make dwc2 stm32 rhport support dynamic 2022-06-03 17:24:28 +07:00
hathach 2571211957 remove static port defined for device/host 2022-06-03 11:32:09 +07:00
hathach 8b9cf152a0 rhport argument in usbd_ API() is not used (always use the initialized port)
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02 16:51:17 +07:00
hathach 99c1585ed2 rename board specific macro for example
- BOARD_DEVICE/HOST_RHPORT_NUM to  BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to  BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
Ha Thach b6a8d0dd71
Merge pull request #1485 from tfx2001/patch-1
Fix compile error
2022-06-01 23:26:57 +07:00
tfx2001 54d7790e8b
fix compile error 2022-06-01 21:37:26 +08:00
Ha Thach d1d6bd2831
Merge pull request #1483 from hathach/clean-rp2040-net-example
remove cmake compile macro for net example (use lwipopts.h instead)
2022-06-01 16:17:46 +07:00
hathach ea8a9e0249 remove cmake compile macro for net example (use lwipopts.h instead) 2022-06-01 15:10:05 +07:00
Ha Thach fd8afc7e3b
Merge pull request #1454 from Iktek/bugfix_1453
overwrite grstctl on edpt_disable
2022-06-01 14:36:36 +07:00
hathach 6e7cd220dc grstctl set fifo + flush in one assign 2022-06-01 13:18:24 +07:00
Ha Thach 9352f75220
Merge pull request #1438 from Nikitarc/master
Update dwc2_stm32.h
2022-06-01 12:23:32 +07:00
Ha Thach fdeac8508b
Merge pull request #1381 from hathach/add-sof-isr
Add SOF IRQ Handler
2022-05-31 22:25:14 +07:00
Ha Thach ab7c23a787
Merge pull request #1479 from M3gaFr3ak/master
Fix printf long int compiler error
2022-05-31 21:53:29 +07:00
hathach e384d16d57 clean up tud_audio_set_itf_cb() invocation 2022-05-31 21:52:54 +07:00
Ha Thach 223aaeaecd
Merge pull request #1463 from hathach/sof-isr-update
changes proposal to audio feedback computation
2022-05-31 20:57:07 +07:00