8497 Commits

Author SHA1 Message Date
hathach
7d9b399466
fix ep type bulk typo 2024-07-31 18:28:17 +07:00
hathach
7954d9cb4c
rename to fsdev_type.h, use FSDDEV_REG instead of USB 2024-07-31 18:15:22 +07:00
hathach
26b0df2c26
refactor xfer_ctl_ptr() to take epnum/dir to reduce computation 2024-07-31 17:24:41 +07:00
hathach
ce0fdc5609
refactor dcd_ep_ctr_handler 2024-07-31 17:10:43 +07:00
hathach
ee831d27ac
rename to ep_read/write(), drop USBx argument 2024-07-31 16:56:42 +07:00
hathach
3156f1c4a7
remove all pcd ep read, modify write 2024-07-31 16:52:00 +07:00
hathach
8139840d7a
fix ep_add_dtog() 2024-07-31 15:32:37 +07:00
hathach
76cc721e8f
clean up dcd_edpt_stall/clear_statll 2024-07-31 12:45:27 +07:00
hathach
e60efec6b7
improve using ep_add_status/ep_add_dtog 2024-07-31 12:09:50 +07:00
hathach
126778298e
enhance dcd_ep_ctr_rx_handler() 2024-07-31 11:35:09 +07:00
hathach
0c8d41e25e
correct ep toggle bit 2024-07-31 09:46:31 +07:00
hathach
f4aaad6869
add edpt0_open(), slightly update dtog 2024-07-30 21:35:24 +07:00
hathach
1cf8e34ae5
improve set endpoint 2024-07-30 20:32:26 +07:00
hathach
b15814b2f9
move align buffer to pma_alloc() 2024-07-30 16:29:54 +07:00
hathach
749f092174
refactor btable_set_rx_bufsize() 2024-07-30 13:05:46 +07:00
hathach
6771ef35d9
more btable set/get clean up 2024-07-30 11:17:55 +07:00
graham sanderson
0ebe81f4c3 add explcit dependency 2024-07-29 12:34:25 -05:00
graham sanderson
cfb44a3892 add clocks.h as set_sys_clock_khz is moving there from stdlib.h 2024-07-29 12:29:27 -05:00
HiFiPhile
6a67bac47c Integrate OS guessing quirk into uac2_speaker_fb example. 2024-07-28 13:25:57 +02:00
HiFiPhile
4a48544aeb audiod_function_t clean up. 2024-07-28 12:04:25 +02:00
HiFiPhile
f48a4567a6 Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb 2024-07-28 11:59:52 +02:00
hathach
75d3a3be84
implement btable_set_addr/count 2024-07-26 00:02:06 +07:00
hathach
3b8f9a2b1f
refactor btable tx/rx into arr[2] 2024-07-25 23:51:20 +07:00
hathach
ef4285c00c
add flash stlink 2024-07-25 22:38:23 +07:00
Brent Kowal
5122d6d109 Combined DCD MUSB implementations
Combined the new MAX32 MUSB implementation with the existing (TI) implementation to provide generic code base for working the MUSB DCD peripheral.
 - Added abstraction calls for FIFO setup, EP registers, Ctrl registers and interrupt setup.
 - Combined TM4C and MSP432E into a single header file.
 - Created musb_max32.h, and removed the MAX32 specific C implementation.
 - Updated MAX32 build system to use dcd_musb.c.
 - Added MAX32 conditions for cdc_dual_ports example descriptors missed during first testing.
2024-07-25 09:08:37 -04:00
hathach
02caf00772
simplify btable rx/tx count/address access 2024-07-25 19:00:59 +07:00
hathach
a5bc0430f7
fix race condition where reset event cleaar setup count 2024-07-25 16:49:01 +07:00
hathach
0eb0baed19
fsdev: remove unused _setup_packet 2024-07-25 11:53:42 +07:00
hathach
2f8078f5b5
minor changes 2024-07-24 16:59:12 +07:00
hathach
c0f38ebf8d
fsdev read/write packet use unaligned function 2024-07-23 19:53:41 +07:00
hathach
5d26f5794e
update fsdev bsp for hil testing 2024-07-23 18:06:24 +07:00
Ha Thach
cfbdc44a8d
Merge pull request #2734 from hathach/hil-change-esp32s3-baudrate
change hil s3 baudarte
2024-07-22 22:25:33 +07:00
hathach
ce5fe3cc19
change s3 baudrate 2024-07-22 22:05:21 +07:00
Ha Thach
f09e23e453
Merge pull request #2732 from hathach/fix-fsdev-issue
fix fsdev issue introduced by #1942
2024-07-22 21:28:44 +07:00
hathach
4de46fcf97
fix a bug in fsdev introduced by #1942 2024-07-22 21:07:28 +07:00
Ha Thach
e09cf36104
Merge pull request #2728 from hathach/hil-add-lpc11u377
[HIL] add lpc11u37 for hil test
2024-07-20 00:33:22 +07:00
hathach
66193cba05
fix build with make 2024-07-19 22:48:01 +07:00
hathach
6bb59eeb3f
add lpc11u37 for hil rpi 2024-07-19 22:33:53 +07:00
Ha Thach
e9f9d43d67
Merge pull request #2723 from liamfraser/rp2040_tweaks
RP2040 tweaks
2024-07-19 21:33:50 +07:00
Ha Thach
9a418317f3
Merge pull request #2694 from feaser/keil_weak_fix
Additional fix related to issue #1018. Corrects the usage of TU_ATTR_WEAK for the Keil compiler
2024-07-19 21:20:55 +07:00
Ha Thach
dcf133b6ae
Merge pull request #2681
usbh: Add set address recovery time
2024-07-19 21:10:31 +07:00
hathach
8183433600
fix compile with tud_vendor_control_xfer_cb() and check tud_descriptor_device_cb() 2024-07-19 21:05:10 +07:00
hathach
e92acf0a91
also migrate tud_descriptor_device_qualifier_cb() / tud_descriptor_other_speed_configuration_cb() 2024-07-19 20:53:23 +07:00
Frank Voorburg
d040644b6c
Additional fix related to issue #1018. Corrects the usage of TU_ATTR_WEAK for the Keil
compiler for the callback functions:

* tud_descriptor_bos_cb()
* tud_vendor_control_xfer_cb()
* tud_mount_cb()
* tud_umount_cb()
* tud_suspend_cb()
* tud_resume_cb()

Without the fix for the first two functions, the USB device won't enumerate properly, if
the device makes use of a BOS description. For example when using a Microsoft OS 2.0
platform capability descriptor to set a specific Device Interface GUID for WinUSB.

The fix for the other four functions were added, because it's probably just a matter of
time before someone runs into the same problem with those callback functions.
2024-07-19 20:43:26 +07:00
Ha Thach
c48d2eba0d
Merge pull request #2630 from HiFiPhile/dcd_race 2024-07-19 18:28:33 +07:00
hathach
6fb6602a09
- add tud_cdc_n_ready() though not used
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
be18af8235
revert changes to usbds configuration_reset() (deal with it in separated PR) 2024-07-19 17:10:53 +07:00
HiFiPhile
4b55af17c9
Fix STM32F7 FS port build. 2024-07-19 17:02:57 +07:00
HiFiPhile
772398f6ea
Save setup_count on bus reset. 2024-07-19 17:02:57 +07:00
HiFiPhile
a1fd43ebaf
Clear _usbd_dev prior to driver reset. 2024-07-19 17:02:56 +07:00