Commit Graph
100 Commits
Author SHA1 Message Date
Ha Thach 056cd6b229 Merge pull request #845 from hathach/hid-host-get-protocol-when-enum
get protocol when enum with hid boot interface
2021-05-22 23:42:10 +07:00
hathach a1dab1611b get protocol when enum with hid boot interface 2021-05-22 23:30:41 +07:00
Ha Thach 56577d9fca Merge pull request #834 from hathach/host-hid
Rework Host hid
2021-05-22 22:56:17 +07:00
hathach f13a3c04f7 fix missing report in tuh_hid_set_report() 2021-05-22 22:43:55 +07:00
hathach a2c4a48dd6 add tuh_hid_report_sent_cb() 2021-05-22 22:03:21 +07:00
hathach b8e019da32 rename tuh_hid_get_report_cb to tuh_hid_report_received_cb() 2021-05-22 21:51:30 +07:00
hathach df65c35b31 implement hid host set report with control transfer
rename mount, umount callback
2021-05-22 21:48:42 +07:00
hathach 63c57ed1a4 clean p 2021-05-22 20:55:42 +07:00
hathach ad845db6a5 improve hid parser 2021-05-22 20:54:59 +07:00
hathach 350dfb2ea3 more hid api rename 2021-05-22 18:17:32 +07:00
hathach 89dad1ad41 update app 2021-05-22 16:48:07 +07:00
hathach 99add05aa7 simplify hid api
add hid set_protocol() and set_protocol_complete_cb()
2021-05-22 16:27:28 +07:00
Ha Thach cdb063f007 Merge pull request #841 from noodlefighter/fix-uac2_headset
fix uac2_headset example
2021-05-21 00:52:01 +07:00
Ha Thach 7bb84890f5 Merge pull request #840 from hathach/enable-ci-esp32s3
enable ci for esp32s3 boards
2021-05-19 11:22:34 +07:00
hathach 327336e921 fix build for rp2040 2021-05-19 11:16:26 +07:00
hathach 7d0fb6f87a enable ci for esp32s3 boards 2021-05-19 11:05:44 +07:00
hathach 2df5a5367f update hid host get/set protocol to match device 2021-05-18 13:12:33 +07:00
hathach 40cd3a7e20 Merge branch 'master' into host-hid 2021-05-18 13:08:30 +07:00
hathach ffdcf9a0d0 move report_info to application
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18 12:58:24 +07:00
hathach da6a7fb2bb update hid report descriptor macro 2021-05-18 12:58:24 +07:00
hathach 5b2d117bcd fix compile 2021-05-18 12:58:24 +07:00
hathach 93661042d9 more API update
- remove tuh_n_hid_n_get_report()
- usbh auto queue get report and invoke callback when received data
2021-05-18 12:58:24 +07:00
hathach dfa8b41b96 adding hid parser 2021-05-18 12:58:24 +07:00
hathach 9ddc3bfd6d more host hid API
adding hid parser
2021-05-18 12:58:24 +07:00
hathach 641f55f1f1 remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE 2021-05-18 12:58:24 +07:00
hathach cc1b83412a continue with hid host rework 2021-05-18 12:58:24 +07:00
hathach 9324fd8f2e more hid host API rework 2021-05-18 12:58:24 +07:00
hathach 7305fec4db change hid device report len from uint8 to uint16 2021-05-18 12:58:24 +07:00
hathach db8ea7ea1c clean up 2021-05-18 12:58:24 +07:00
hathach 791efecfdf add tuh_device_ready() 2021-05-18 12:58:24 +07:00
hathach b7a8b278c8 rename tuh_device_is_configured() to tuh_device_configured()
- remove tuh_device_get_state()
- more hid mouse clean up
2021-05-18 12:58:24 +07:00
hathach 69defb5edc rename and moving 2021-05-18 12:58:24 +07:00
hathach a5cd81a226 correct hid host mount/unmount callback
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18 12:58:24 +07:00
hathach be165a6713 reworking host hid API 2021-05-18 12:58:24 +07:00
hathach 510beef9f8 make tuh_msc_mount_cb() tuh_msc_unmount_cb() as weak callback 2021-05-18 12:58:24 +07:00
hathach e0dbb489ae rename CFG_TUSB_HOST_ENUM_BUFFER_SIZE to CFG_TUH_ENUMERATION_BUFSZIE
add usbh_get_enum_buf
2021-05-18 12:58:24 +07:00
hathach e83bdcdfdc reworking hid host 2021-05-18 12:58:24 +07:00
hathach 4023d05e93 minor clean up 2021-05-18 12:58:24 +07:00
hathach 13613eafb7 correct ehci control endpoint address report on xfer complete
improve host log
2021-05-18 12:58:24 +07:00
hathach 3a7f8b3ac3 separte tusb_init/inited() to tud/tuh init/inited
add rhport to tud_init()
2021-05-18 12:58:24 +07:00
hathach 2666e1efec add tuh_inited() and tud_inited() 2021-05-18 12:58:24 +07:00
hathach 68fa17e17c more API rename 2021-05-18 12:58:24 +07:00
hathach f1148ca5ac reworking hid host 2021-05-18 12:58:24 +07:00
hathach 98f5082191 rename var to be consistent 2021-05-18 12:58:24 +07:00
hathach 1dd2cd43dd add hcd_ehci.h as interface for ehci port 2021-05-18 12:58:24 +07:00
Ha Thach 4f84185b43 Merge pull request #837 from hathach/fix-835-hid-cleanup
Fix 835 hid cleanup
2021-05-18 12:57:59 +07:00
hathach a26752a93e fix build error 2021-05-18 12:45:59 +07:00
hathach 7e9e682e09 update to use HID spec protocol value for get/set_protocol() 2021-05-18 12:38:11 +07:00
hathach e163f85ee0 clean up, rename some HID device symbol/API
- add tud_hid_n_interface_protocol()
- rename tud_hid_n_boot_mode() to  tud_hid_n_get_protocol()
- rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
- add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1
- rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid
confusion
2021-05-18 12:32:20 +07:00
Ha Thach c5e95a8f8d Merge pull request #829 from kasjer/kasjer/fix-build-for-nrf5340
Allow build for NRF5340 MCU
2021-05-11 20:02:48 +07:00
hathach 9233269a2c only apply errata walkaround for nrf52 2021-05-11 18:38:23 +07:00
Ha Thach 59affc90aa Merge pull request #828 from corvus-ossifragus/fix-ep-struct-trace-statements
Fix ep struct trace statements
2021-05-10 22:21:15 +07:00
Ha Thach 2a343ba916 Merge pull request #826 from hathach/minor-cleanup
minor clean up
2021-05-10 19:29:45 +07:00
Ha Thach 1e8a129149 Merge pull request #824 from corvus-ossifragus/fix-keyboard-hid-report-buffer
Update main.c
2021-05-10 19:21:33 +07:00
hathach 13de8f5d98 minor clean up 2021-05-10 19:15:46 +07:00
Ha Thach 505ee0c8ea Merge pull request #821 from corvus-ossifragus/debug_build_errors
Update hcd_rp2040.c
2021-05-08 17:47:49 +07:00
Ha Thach 4cd6ec2530 Merge pull request #820 from corvus-ossifragus/update-host-example
Update main.c
2021-05-08 17:46:51 +07:00
Ha Thach ee00918b7c Merge pull request #803 from pigrew/usbtmc_default_rm
USBTMC: remove reference to visa DLL (which only was for windows, and…
2021-05-05 10:52:02 +07:00
Ha Thach 42a1d2f3b9 Merge pull request #804 from hathach/audio_make_dma_ready
Implement functions to allow for DMA usage in audio driver.
2021-05-02 15:29:38 +07:00
hathach 1e1bcda003 update changelog for peek api 2021-05-02 15:05:47 +07:00
hathach 18c35bb89e some text fomarting, update unit test to test get buffer info for fifo 2021-05-02 15:01:28 +07:00
Ha Thach 30b7988efa Merge pull request #811 from hathach/update-lpc54
Update lpc54
2021-04-29 00:44:54 +07:00
hathach e70fb7fd41 fix mkl25z ci 2021-04-29 00:33:03 +07:00
hathach cf64b2214b fix build with mkl25z 2021-04-29 00:22:28 +07:00
hathach d70af332c0 fixed build with lpc51 2021-04-28 23:44:04 +07:00
hathach f7779c70d6 add lpc54 to ci 2021-04-28 23:27:12 +07:00
hathach fdda9f75db add lpc54628 but usb clock;phy doesn't seem to be right 2021-04-28 23:25:07 +07:00
hathach 8a9f412788 fix lpc54 button 2021-04-28 22:34:56 +07:00
hathach 71a1f57ccd generalize lpc54 family 2021-04-28 21:34:26 +07:00
hathach 9a6552c4b3 fix build with lpc54 2021-04-28 20:02:17 +07:00
hathach fcedb2eecb fix lpc55 build 2021-04-28 19:53:31 +07:00
hathach 810057bdb2 fix build with imxrt 2021-04-28 19:30:23 +07:00
hathach af0db342df update lpc mcu sdk path 2021-04-28 18:30:19 +07:00
hathach aaa8c9928c add official nxp mcux-sdk submodule 2021-04-28 18:26:04 +07:00
hathach e115e08728 add nxp_lpcopen as submodule 2021-04-28 18:11:49 +07:00
hathach 62c5fa1056 remove submodule hw/mcu/nxp 2021-04-28 18:07:26 +07:00
hathach 3da76ae449 making new family lpc54 2021-04-28 16:13:43 +07:00
Ha Thach 33f713f5ef Merge pull request #810 from hathach/fix-lpc15
Fix lpc15
2021-04-28 15:36:30 +07:00
hathach c1c4b2f6bf complete lpc15 family 2021-04-28 15:16:36 +07:00
hathach bbc6d4f9e8 create new lpc15 family 2021-04-28 15:10:31 +07:00
hathach cd535537f6 update doc 2021-04-28 15:02:11 +07:00
hathach 6882a7af3b lpc1549 work well now 2021-04-28 14:53:46 +07:00
hathach c9177246d2 temporarily fix include recusrive loop 2021-04-28 12:31:24 +07:00
hathach b5339caa17 clean up lpc55 boards 2021-04-26 21:40:58 +07:00
hathach f4475ea85b change lpc55s28 default port to 1 2021-04-26 21:26:13 +07:00
Ha Thach 684fba3152 Merge pull request #808 from hathach/lpc55-port1-hs
Lpc55 port1 hs
2021-04-26 21:04:57 +07:00
hathach 1be9f3bcfa update board doc 2021-04-26 20:49:15 +07:00
Ha Thach 7abafbb1bd Merge pull request #807 from UweBonnes/lpc55-port1-hs
mcu-link: Board support for MCU-LINK with LPC55S69JBD64
2021-04-26 20:28:47 +07:00
hathach ba90a8cb79 use correct NBYTES_MAX for full and high speed 2021-04-26 20:22:40 +07:00
hathach c26875e70d add TUP_MCU_STRICT_ALIGN macro that manually pick bytes for lpc55 port1 that is m4 but cannot unaligned acces on usb ram 2021-04-26 17:42:49 +07:00
hathach a8e109cb3d clean up 2021-04-26 17:14:20 +07:00
hathach 8ebdf2b097 ip3511 correct buffer offset, nbytes layout for highspeed port1
able to get passed enumeration and up to READ10
2021-04-26 14:43:58 +07:00
hathach f14daf2081 fix unaligned access with port1 hs 2021-04-24 15:04:58 +07:00
hathach b15d126d59 lpc55 improve multiple controller support
port1 highspeed requires USB_RAM
2021-04-24 13:36:05 +07:00
hathach 7089df2088 lpc55 correct bus_reset with highspeed on support controller
correct hsphy init for family
2021-04-24 12:19:13 +07:00
hathach 8bed369c7f lpc55 better multiport support 2021-04-24 11:30:14 +07:00
hathach 8642c2045c update dcd ip3511 for better multiple rhport support 2021-04-24 10:44:14 +07:00
hathach 5c5d4b189f add lpc55 uart write 2021-04-22 19:24:19 +07:00
Ha Thach d8fd4352a3 Merge pull request #798 from hathach/uac2_fix_cs_as_int_alt_set_0
Uac2 fix cs as int alt set 0
2021-04-22 10:56:13 +07:00
Ha Thach c5f440a6aa Merge pull request #794 from hathach/fix-ci-rp2040
Fix ci rp2040
2021-04-19 15:17:05 +07:00