Commit Graph

7120 Commits

Author SHA1 Message Date
hathach
ecf2f91042 use endpoint pool for more flexible multiple devices support 2023-08-25 16:36:28 +07:00
hathach
09ceaa6cf3 add osal mutex for spi 2023-08-25 13:18:47 +07:00
hathach
f5ebc1700f add spi lock with interrupt enable/disable 2023-08-25 12:12:44 +07:00
hathach
e6cf125e53 save data toggle, always retry NAK. work with msc device 2023-08-24 16:46:20 +07:00
hathach
344932d27e add tuh_max3421e_int_api(), retry control if received NAK 2023-08-24 16:27:47 +07:00
hathach
3ed5d6c372 complete enumeration 2023-08-24 16:27:12 +07:00
hathach
2c237b1ae4 able to complete 1st get device descriptor and set address 2023-08-23 17:49:28 +07:00
hathach
e3f3179924 able to get 8 byte descriptor, but read(RCVBC) always return 0
- rename max3421e to max3421
- fix incorrect bitmask for HCTL, fix initial device connect
- fix bus reset cause connect IRQ
2023-08-23 15:08:12 +07:00
hathach
274578ff46 able to send setup packet 2023-08-22 23:17:12 +07:00
hathach
b413439416 able to detect new device and start enumerating 2023-08-22 19:57:59 +07:00
hathach
cacc96b25d adding connection event handling, add nrf gpio interrupt for max2341e interrupt pin 2023-08-18 17:39:10 +07:00
hathach
824e585e2b ground works for hcd max3421e 2023-08-18 14:07:38 +07:00
hathach
9257a0f562 - update nrf52 bsp for cmake
- add empty tuh_int_handler/tud_int_handler if corresponidng stack not enabled
- add hcd_template.c
2023-08-18 12:48:12 +07:00
Ha Thach
1fdf29075d Merge pull request #2221 from hathach/ehci-halted-error
EHCI more fixes
2023-08-16 16:01:16 +07:00
hathach
f4845e4e6c minor comment 2023-08-16 14:43:58 +07:00
hathach
0109ffbdcb fix abort transfer does not release endpoint, also reset state if it is control transfer 2023-08-16 14:31:14 +07:00
hathach
b3c7fe1023 clear qhd halted bit if not caused by STALL protocol, allow for next transfer 2023-08-16 11:12:00 +07:00
Ha Thach
7537985c08 Merge pull request #2222 from rppicomidi/fix-2188
fix issue 2188: support usbh_app_driver_get_cb()
2023-08-15 23:33:19 +07:00
hathach
67a374d932 more rename 2023-08-15 22:57:05 +07:00
hathach
1b33a31536 more minor clean up
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-15 22:54:07 +07:00
rppicomidi
9d94296741 fix issue 2188: support usbh_app_driver_get_cb() 2023-08-14 15:38:48 -07:00
Ha Thach
d713571cd4 Merge pull request #2217 from hathach/add-lpc43s67
Add lpc43s67
2023-08-14 22:28:53 +07:00
Ha Thach
ba40d667e1 Merge pull request #2219 from tswan-quasi/master
min on cdc r/w
2023-08-14 22:25:44 +07:00
hathach
f2f005cbdf fix build iar with lpc43 2023-08-14 22:01:30 +07:00
hathach
088180e3d8 add iar support for lpc43, add lpcxpresso43s67 to hil farm 2023-08-14 20:58:00 +07:00
tswan-quasi
b5ba12119d UINT16_MAX stdint macro usage 2023-08-14 09:01:30 -04:00
tswan-quasi
bd51afb091 min on cdc r/w 2023-08-14 08:49:52 -04:00
hathach
78e5b2c6a4 add board_get_unique_id() for lpc43 2023-08-14 16:52:16 +07:00
hathach
202b945f88 add lpcxpresso43s67 2023-08-14 16:38:51 +07:00
Ha Thach
92457ec99f Merge pull request #2202 from Rocky04/patch-4
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
Ha Thach
04f0cd5c80 Merge pull request #2209 from HiFiPhile/hitl
Enhance HITL test
2023-08-09 20:20:46 +07:00
hathach
8e690df1da rename hitl to hil 2023-08-09 19:03:56 +07:00
hathach
1268d1a093 update hil test and json (remove troublesome lpc54608), run hil test on ci with IAR build 2023-08-09 18:46:23 +07:00
hathach
1abfa9ac75 Merge branch 'hitl' into pr_hitl 2023-08-09 12:48:46 +07:00
hathach
b8b01c1075 update to dcd ip3511 to add work-around for lpc54628 usb hs errata USB.1 and USB.2
msc is mounted, but device couldn't work reliably and got constant reset
due to other errata probably.
2023-08-09 12:47:24 +07:00
HiFiPhile
992e17fb48 Add simple test for hid_boot_interface. 2023-08-08 22:08:59 +02:00
HiFiPhile
bffe321cd2 Update contributor.rst 2023-08-08 18:25:15 +02:00
HiFiPhile
56bed1e581 Flash board_test when done, skip cdc_msc for LPC54. 2023-08-08 17:34:45 +02:00
HiFiPhile
3444c4abe5 Add dummy board_test. 2023-08-08 17:34:07 +02:00
hathach
6d877c3170 added cmake for lpc54, update lpc55 2023-08-08 18:50:24 +07:00
Rocky04
9602c06f8d Correcting comments 2023-08-07 21:25:50 +02:00
Rocky04
c959e65edd Fixing wrong callback placement 2023-08-07 21:16:41 +02:00
Rocky04
12ed867b5e Fixed typo 2023-08-07 20:59:08 +02:00
HiFiPhile
c24f10e4f6 Mount block device in test_cdc_msc. 2023-08-07 20:48:54 +02:00
Ha Thach
51a0889b75 Merge pull request #2211 from hathach/host-usb-reset
Host usb reset
2023-08-07 23:10:47 +07:00
hathach
4938971aad code format 2023-08-07 20:48:09 +07:00
hathach
18646179d0 fix host msc get maxlun not using aligned section memory 2023-08-07 20:48:08 +07:00
hathach
1f95a417f2 Add tuh_rhport_is_active() and tuh_rhport_reset_bus()
- also improve ehci bus reset
- seperate bus reset delay and contact debouncing delay in enumeration
2023-08-07 20:48:07 +07:00
Rocky04
45af3d6a83 Update examples 2023-08-07 12:04:22 +00:00
Ha Thach
1b92108bc3 Merge pull request #2208 from kkitayam/fix_makefile_for_win
Fix makefile a warning when run on windows command prompt
2023-08-07 16:13:44 +07:00