Commit Graph

7780 Commits

Author SHA1 Message Date
Ha Thach 2265bfeab6
Merge pull request #2543 from IngHK/max3421_nak_retry
MAX3421E NAK retry handling next frame
2024-04-02 17:13:54 +07:00
hathach f2859287df
check for PWR_USBSCR_USB33DEN before enabling USB VDD 2024-04-02 17:11:22 +07:00
hathach 172c9f70c7
clean up 2024-04-02 16:55:49 +07:00
hathach 7d3d60f96d
add hcd_configure() to change max NAK dynamically 2024-04-02 16:38:40 +07:00
hathach e802fe0677
refactor: add hxfr per endpoint 2024-04-02 16:04:03 +07:00
hathach bd2210b812
always limit number of NAK per endpoint per usb frame to save cpu usage. Default to 1 NAK per endpoint 2024-04-02 12:36:00 +07:00
HiFiPhile 4b993708c9 Minor format 2024-04-01 21:30:36 +02:00
HiFiPhile 6cf27986b6 UAC2: add interrupt volume control to uac2_headset example. 2024-04-01 20:39:48 +02:00
HiFiPhile 7ca988018e UAC2: fix mounted condition. 2024-04-01 20:02:45 +02:00
HiFiPhile 05f9cab191 UAC2: refactor interrupt endpoint support. 2024-04-01 20:02:35 +02:00
Wojciech Klimek 4fcfb30f81 Fixed trailing whitespace in family.c 2024-04-01 15:20:57 +02:00
Wojciech Klimek 057278c0c6 Support for STM32H503 MCU - review changes
Implemented changes suggested in the review:
- restored original name of SystemClock_Config() function
- some GPIO clocks are only enabled if macros are defined
- moved GPIO clocks init back to family.c
2024-04-01 14:51:46 +02:00
HiFiPhile a1f01fcbe0 Merge remote-tracking branch 'upstream/master' into pr/1702 2024-04-01 12:35:57 +02:00
Wojciech Klimek 943a2a6db3 Support for STM32H503 MCU
- added support for STM32H503RB on H503RB-NUCLEO board
- modified H5 family.c file to allow portability between H503 and H565/H573
- redefined USB_DRD_BASE to USB_DRD_FS_BASE if STM32H503xx is used
2024-03-31 23:11:49 +02:00
Ha Thach 82dfe95655
Merge pull request #2560 from hathach/fix-h5-errata-2.15.1
Follow up to h5 errata 2.15.1
2024-04-01 00:03:10 +07:00
hathach fc54ad43b1
move walkaround to dcd_ep_ctr_rx_handler(), increase cycle_count from 10 to 20 (40 cycle) 2024-03-31 21:54:40 +07:00
hathach 27afa56844
rename dcd_stm32_fsdev_pvt_st.h to simply dcd_stm32_fsdev.h 2024-03-31 18:42:49 +07:00
hathach ac4e649e56
code format 2024-03-31 18:41:59 +07:00
Ha Thach fadd9524c1
Merge pull request #2559 from hathach/fix-hid-close-not-clear-data
fix hid close not clear data
2024-03-31 18:29:54 +07:00
hathach 2012a0d369
fix hid close not clear data 2024-03-31 15:48:26 +07:00
IngHK 14ce05fea3 Merge remote-tracking branch 'remotes/hathach/master' into max3421_nak_retry 2024-03-31 10:28:53 +02:00
IngHK b644e4d955 fixed spelling 2024-03-31 10:27:54 +02:00
IngHK fe304576d0 reactivated TU_ASSERT(_hcd_data.hirq & HIRQ_SNDBAV_IRQ,); 2024-03-31 10:27:15 +02:00
IngHK 37cce8746d updated all tusb_config.h 2024-03-31 10:27:15 +02:00
IngHK 8ded6d3d2e added some description to tusb_option.h 2024-03-31 10:27:15 +02:00
IngHK c1a17a7369 removed debug code 2024-03-31 10:27:15 +02:00
IngHK fbb2818864 added multiple attemp counting per frame 2024-03-31 10:27:14 +02:00
IngHK 79bc09a68c improved code readability 2024-03-31 10:27:00 +02:00
IngHK f3fccaad26 improved/fixed trigger 1st retryable EP 2024-03-31 10:27:00 +02:00
IngHK 0bb26c97c3 removed redundant return true; 2024-03-31 10:27:00 +02:00
IngHK 009d85722b replaced bits xfer_pending, xfer_complete and retry_pending by common 4 bits state 2024-03-31 10:26:59 +02:00
IngHK 11a54bc8e1 renamed define NAK_RETRY_HANDLING to CFG_TUH_MAX3421_MAX_ATTEMPS_PER_FRAME as official option 2024-03-31 10:26:39 +02:00
IngHK 818c64efec fixed EP0 control handling 2024-03-31 10:26:39 +02:00
IngHK 998090d1a7 added further debug log outputs 2024-03-31 10:26:12 +02:00
Ha Thach 32743f112c
Merge pull request #2333 from HiFiPhile/dwc2_alloc
dwc2: add endpoint allocation support.
2024-03-31 15:05:01 +07:00
hathach 85420c61c7
minor clean up 2024-03-31 13:49:41 +07:00
HiFiPhile 8055bc88d8
Code refactor. 2024-03-30 10:36:29 +07:00
HiFiPhile 4116a962a6
Flush FIFO on bus reset. 2024-03-30 10:36:28 +07:00
HiFiPhile cab1106416
dwc2: add endpoint allocation support. 2024-03-30 10:36:27 +07:00
Ha Thach 9a981237df
Merge pull request #2557 from hathach/fix-rp2-debug3
fix rp2 debug build with level 3
2024-03-29 11:45:10 +07:00
hathach b9400df4c8
fix rp2 debug build with level 3 2024-03-29 11:23:36 +07:00
Ha Thach 5ff6e0f992
Merge pull request #2546 from tannewt/unplug_on_deinit
Fake unplug devices when a root hub is deinit
2024-03-28 22:23:11 +07:00
hathach ddb1034a9c
use hub_addr=0, hub_port=0 for removing root hub port 2024-03-28 21:45:52 +07:00
Scott Shawcroft d50003e33d
Fake unplug devices when a root hub is deinit 2024-03-28 21:41:59 +07:00
Ha Thach a5a90937b4
Merge pull request #2549 from duckylotl/patch-1
forward declare board_millis for OPT_OS_CUSTOM
2024-03-28 20:58:59 +07:00
Ha Thach eaab04fefa
Merge pull request #2550 from hathach/usbh-unroll-hub-remove
Usbh unroll hub removal
2024-03-28 20:57:19 +07:00
hathach 3dcb7362aa
fix build when CFG_TUH_HUB == 0 2024-03-28 19:18:20 +07:00
hathach 0da1da942a
enhance hub removal using while loop to unroll recursive instead of event queue. 2024-03-28 16:32:02 +07:00
duckylotl 275e2f318e
forward declare board_millis for OPT_OS_CUSTOM 2024-03-28 10:27:07 +01:00
Ha Thach 35aa9d06e1
Merge pull request #2547 from hathach/labeler-change-token-1
Change labeler token
2024-03-28 12:43:02 +07:00