8212 Commits

Author SHA1 Message Date
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
HiFiPhile
60b3d14d19
Check tud ready check for OUT xfer. 2024-07-19 17:02:53 +07:00
Ha Thach
ad3c49ca43
Merge pull request #2726 from hathach/hil-add-ra4m1
add ra4m1 ek for hil test
2024-07-19 13:06:33 +07:00
hathach
b35173b5b0
skip msc tests for ra due to existing bug 2024-07-19 12:23:04 +07:00
Ha Thach
7706e6f5d2
Merge pull request #2725
UAC2: Fix memclr on driver reset.
2024-07-19 12:21:36 +07:00
hathach
7e7a38b97d
update test json 2024-07-19 11:48:43 +07:00
hathach
94454684f7
add ra4m1 ek for hil test 2024-07-19 11:29:48 +07:00
HiFiPhile
ffe1d0664b UAC2: Fix memclr on driver reset. 2024-07-18 20:02:57 +02:00
graham sanderson
31a979a6cc fix some clang compiler warnings 2024-07-18 11:11:06 +01:00
graham sanderson
5f6152a87e not all GCC compiler builds support --no-warn-rwx-segments; check_linker_flag is not available in all supported version of CMake, so just allow it to be passed in 2024-07-18 11:11:06 +01:00
graham sanderson
0d72f153cf fix arguable bug caught as warning by LLVM embedded toolchain for ARM 14.0.0 2024-07-18 11:11:06 +01:00
Liam Fraser
23c9353cd8 net_lwip_webserver: allow TINYUSB_LWIP_PATH to be defined by parent CMake file 2024-07-18 11:10:55 +01:00
Ha Thach
a615b0a003
Merge pull request #2722 from hathach/fix-hil-boardtest 2024-07-18 14:10:21 +07:00
hathach
eb698f8cc7
skip hil test if binary not exist 2024-07-18 13:54:11 +07:00
hathach
30a48c57bd
fix hil board_test duplication, add cdc_msc_freertos test 2024-07-18 13:21:38 +07:00
Ha Thach
b8581b4ab7
Merge pull request #2721 from hathach/hild-add-metro-m7
HIL add metro m7
2024-07-18 10:48:47 +07:00
hathach
8be0d503da
fix make build 2024-07-18 09:34:58 +07:00
hathach
68518aaa4b
add metro_m7_1011 to hil rpi 2024-07-18 09:25:52 +07:00
hathach
ea5deb0018
add unique id for imxrt 2024-07-18 09:24:29 +07:00
Liam Fraser
3804ab9a67 RP2040: no need to clear usb_hw (usb registers) as they are reset to default state by a hardware reset 2024-07-17 15:47:00 +01:00
Liam Fraser
770efd9b46 RP2040: Use our own unaligned memcpy to avoid alignment faults with some memcpy implementations 2024-07-17 15:47:00 +01:00
Ha Thach
c6339204f4
Merge pull request #2719 from hathach/add-family-da1469x 2024-07-17 21:18:11 +07:00
hathach
daa7acd585
add FreeRTOSConfig.h for da1469 2024-07-17 20:40:27 +07:00
hathach
0e53b0b846
update workflow build ci 2024-07-17 19:45:40 +07:00
hathach
e1e68cdb9b
bump up ch32 v20x and v307 deps 2024-07-17 19:40:05 +07:00
hathach
0004faca83
minor update hid device 2024-07-17 19:29:21 +07:00
hathach
57a08200fc
add family cmake/make for da1469x boards 2024-07-17 19:28:59 +07:00
Ha Thach
e86826318c
Merge pull request #2718 from hathach/hid-2253-followup
follow up to #2253
2024-07-17 15:19:43 +07:00
hathach
0ecf15bc61
follow up to #2253
- rename tud_hid_report_fail_cb() to tud_hid_report_failed_cb() and change its signature
- use default implementation for hid callbacks to be compatible with keil compiler
- code format
2024-07-17 14:35:23 +07:00
Ha Thach
1ba88ff3ac
Merge pull request #2715 from hathach/more-hil-pi5
hil flash itsybitsy m4 with picoprobe
2024-07-16 14:43:58 +07:00
hathach
5edc8458f2
hil flash itsybitsy m4 with picoprobe 2024-07-16 14:30:51 +07:00
Ha Thach
7ff52021ad
Merge pull request #2712 from hathach/migrate-hil-pi5
update hil test to run on new pi5
2024-07-15 18:10:16 +07:00
hathach
cc6806144f
update hil test to run on new pi5 2024-07-15 17:46:20 +07:00
Ha Thach
bd15f65e81
Merge pull request #2710 from hathach/dwc2-test-mode-followup 2024-07-12 21:15:52 +07:00
hathach
4ce1cce40a
simplify dwc2 test mode
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h
2024-07-12 20:17:14 +07:00
Ha Thach
b97520e89f
Merge pull request #2709 from hathach/add-tud_cdc_configure_fifo
add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
2024-07-12 17:38:33 +07:00
hathach
ef71093046
add lsusb for hil pi4 2024-07-12 17:20:06 +07:00
Ha Thach
d26b574f80
Merge pull request #2688 from HiFiPhile/3511_rtos
LPC55: FreeRTOS fix
2024-07-12 17:16:44 +07:00
hathach
1f590c3628
- add tud_cdc_configure_fifo() to replace CFG_TUD_CDC_PERSISTENT_TX_BUFF
- new line, and code format
2024-07-12 16:53:21 +07:00