Commit Graph
100 Commits
Author SHA1 Message Date
hathach 5b965a3888 more rename and update 2021-07-14 15:52:38 +07:00
hathach 27676f738d rename tud_dfu_reboot_cb() to tud_dfu_detach_cb() 2021-07-14 15:31:20 +07:00
hathach 57d9f696a2 clean up 2021-07-14 15:24:09 +07:00
hathach ac8d0abecf rename dfu API
- tud_dfu_dnload_complete() -> tud_dfu_download_complete()
- tud_dfu_req_dnload_data_cb() -> tud_dfu_download_cb()
- tud_dfu_req_upload_data_cb() -> tud_dfu_upload_cb()
2021-07-14 15:04:38 +07:00
hathach 86d511f244 rename tud_dfu_set_timeout_cb() to tud_dfu_get_status_cb()
also add state as argument
2021-07-12 21:08:13 +07:00
hathach 8c48a4a288 clean up 2021-07-12 20:23:19 +07:00
hathach 389d340678 clean up 2021-07-12 20:17:44 +07:00
hathach 680b000bd1 simplify TUD_DFU_DESCRIPTOR with alternate count
remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional
descriptor
2021-07-12 20:15:59 +07:00
hathach 2916cd4575 rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTOR 2021-07-12 18:51:57 +07:00
hathach 134ed995c8 add alt to tud_dfu_abort_cb() 2021-07-12 18:50:19 +07:00
hathach a0691a4fd4 update dfu_moded_open 2021-07-12 18:48:33 +07:00
hathach 10a7e0502a Merge branch 'dfu' of https://github.com/HiFiPhile/tinyusb into HiFiPhile-dfu 2021-07-12 17:50:11 +07:00
Ha Thach ecb100a62f Merge pull request #938 from HiFiPhile/uac_example
Bug fix and Enhancements of UAC2
2021-07-06 22:57:48 +07:00
Ha Thach 4468b14580 Merge pull request #949 from kkitayam/add_suspend_and_resume_for_rx_family
Add SUSPEND/RESUME handling for Renesas RX family.
2021-07-05 20:46:11 +07:00
Ha Thach 2ae19ce40d Merge pull request #913 from xmos-jmccarthy/master
Add dfu function memory access protection
2021-07-05 12:51:07 +07:00
hathach dfe410ea8b fix ci build, address review comment 2021-07-05 12:38:15 +07:00
hathach 227dd2d40a Merge branch 'master' of https://github.com/xmos-jmccarthy/tinyusb into xmos-jmccarthy-master 2021-07-05 12:33:11 +07:00
Ha Thach 0a230d57ee Merge pull request #931 from hathach/more-hid-host
More hid host update
2021-07-05 00:23:56 +07:00
hathach 8d1a88cab6 skip uac2_headset for mcu that does not have enough sram 2021-07-04 15:46:11 +02:00
Ha Thach 681a61d479 Merge pull request #941 from kkitayam/fix_rtt_for_rx_family
Add support for RTT logging by NEWLIB on Renesas RX family.
2021-07-02 14:43:49 +07:00
hathach 8de33ca557 Merge branch 'master' into kkitayam-fix_rtt_for_rx_family 2021-07-02 14:10:31 +07:00
Ha Thach 896388d796 Merge pull request #942 from hathach/hid-set-report
Better Support Hid Get/Set report
2021-07-02 13:02:29 +07:00
hathach 2b3d547b7b clean up 2021-07-01 23:05:21 +07:00
hathach 6de023d54b update hid_composite freertos with capslock as well 2021-07-01 22:54:57 +07:00
hathach ca98996e1f better support for hid device set/get protocol
add caplock detection for hid_composite
2021-07-01 22:46:39 +07:00
hathach 6e1f812e35 skip uac2_headset for mcu that does not have enough sram 2021-07-01 14:09:17 +07:00
Ha Thach 9b3ec69b27 Merge pull request #940 from HiFiPhile/fifo_fix
Fix fifo overflow correction.
2021-07-01 02:25:23 +07:00
Ha Thach 3b539fdd8d Merge pull request #905 from HiFiPhile/uac_fix
UAC fixes
2021-06-29 22:34:57 +07:00
Ha Thach dc25a5fb97 Merge pull request #934 from hathach/poison-obsolete-callback
add tud_vendor_control_request_cb() to poisoned list
2021-06-29 18:00:09 +07:00
hathach 3eec011a7c add tud_vendor_control_request_cb() to poisoned list 2021-06-29 17:28:35 +07:00
Ha Thach f1af90d8eb Merge pull request #933 from hathach/update-rx65n-bsp
rename rx65n cloud kit to target
2021-06-29 16:52:16 +07:00
hathach b2fa7358cf fix typo 2021-06-29 16:38:38 +07:00
hathach 2d423514ee rename rx65n cloud kit to target
adding note for adding jlink support for rx65n_target board
2021-06-29 16:33:32 +07:00
hathach 36d2214e39 fix warnings 2021-06-29 00:14:01 +07:00
hathach c172caa288 clean up 2021-06-29 00:03:34 +07:00
hathach efc12ae7d4 fix SET_PROTOCOl, update hid host behavior for default boot interface 2021-06-28 23:57:57 +07:00
hathach 268dcc8d20 fix issue with weird msc device with 3 endpoints 2021-06-28 17:39:57 +07:00
hathach 58d3e8c08b update func comment 2021-06-28 17:39:57 +07:00
hathach c99b70c08c force boot protocol for keyboard/mouse 2021-06-28 17:39:57 +07:00
hathach 5811122cfd change usbh open driver to have max_len and return driver len 2021-06-28 17:39:57 +07:00
Ha Thach 6e939de9d6 Merge pull request #891 from hathach/host-rp2040-double-buffer
RP2040 double buffer
2021-06-28 17:39:09 +07:00
Ha Thach e3cca973ec Merge pull request #928 from hathach/house-keeping
House keeping
2021-06-28 17:02:02 +07:00
hathach 3a2317b7dc bug form update 2021-06-28 16:40:30 +07:00
hathach e6d6299706 more bug form template 2021-06-28 16:39:31 +07:00
hathach 3465cbd839 more bug form update 2021-06-28 16:37:13 +07:00
hathach ddcd657e40 more fixing 2021-06-28 16:33:21 +07:00
hathach 903e699273 fixing bug form 2021-06-28 16:30:38 +07:00
hathach b6f226dbaa comment out esp32s3 ci due to USB0 not defined in IDF linker 2021-06-28 16:25:28 +07:00
hathach 35eaa4a4e3 Use bug report form 2021-06-28 16:25:22 +07:00
hathach 01987ef86c merge saml21 + saml22 = saml2x 2021-06-28 14:37:41 +07:00
hathach 7e449b710e rename bsp saml22 to saml2x 2021-06-28 14:06:13 +07:00
Ha Thach b2feae15e4 Merge pull request #927 from hathach/add-rx65n-board
Add rx65n board
2021-06-28 13:53:42 +07:00
hathach 07e6a0e870 reduce esp32s2 board to ci 2021-06-28 13:13:00 +07:00
hathach 856dc0bab9 update doc and clean up 2021-06-28 12:59:53 +07:00
hathach e3b1110cce rename rx63n to simply rx 2021-06-28 12:51:11 +07:00
hathach 8c4641fc05 refactor rx6x bsp 2021-06-28 12:49:30 +07:00
hathach 17137bbfff fix rx65n with freertos build 2021-06-28 12:35:12 +07:00
hathach ec9bfe0333 update renesas rx submodule 2021-06-28 12:27:20 +07:00
Ha Thach 807231d184 Merge pull request #922 from kkitayam/add-rx65n-board
Update some settings for rx65n board
2021-06-28 01:12:25 +07:00
Ha Thach d5c9de03a2 Merge pull request #923 from DuMaM/patch-1
GCC 11 build fix for nrf5x
2021-06-27 11:30:12 +07:00
Ha Thach 5a4fc1151a Merge pull request #907 from salkinium/fix/tuh_config_typo
Fix typo in TUH configuration define
2021-06-21 12:23:52 +07:00
Ha Thach e45b6dbc1c Merge pull request #906 from hathach/fix-midi
fix issue when calling midi API when not enumerated yet
2021-06-21 00:14:58 +07:00
hathach 9323a9d094 fix issue when calling midi API when not enumerated yet 2021-06-21 00:00:46 +07:00
hathach fbda7d5837 adding rx65n 2021-06-20 15:04:39 +07:00
Ha Thach 81fa9966de Merge pull request #895 from ElectronicCats/master
add support SAML21
2021-06-20 01:01:00 +07:00
hathach 7dce27c732 fix build with saml21, update microchip driver submodule 2021-06-19 16:21:14 +07:00
Ha Thach 03643d551d Merge pull request #899 from Product-Creation-Studio/ned-pcs/fix-initializer
Changed order of struct initializer to avoid compiler error
2021-06-19 14:32:42 +07:00
Ha Thach df0cda2d7a Merge pull request #898 from hathach/fix-nrf-control-bulk-race-condition
fix nrf52 race condition with TASKS_EP0RCVOUT
2021-06-19 02:23:09 +07:00
hathach 6b621baeb3 fix race condition with control since TASKS_EP0RCVOUT also require EasyDMA 2021-06-19 01:58:27 +07:00
hathach 832d22d7ad force single buffered for device mode, out endpoint 2021-06-17 01:55:35 +07:00
hathach 5c567129ea fix calculating xferred bytes with double buffer with short packet on buffer0 2021-06-13 18:30:26 +07:00
hathach f38c460433 fix ep tx with double buffered 2021-06-13 17:19:14 +07:00
hathach bd039c8d37 fix build with log for device 2021-06-13 16:16:25 +07:00
hathach 1af64f9729 remove sent_setup from hw endpoint 2021-06-13 15:31:00 +07:00
hathach 289ccf3c93 remove dev_ep_map 2021-06-13 13:19:20 +07:00
Ha Thach 2b5bad7362 Merge pull request #889 from kilograham/master
Make examples standalone buildable via CMake
2021-06-12 23:16:57 +07:00
hathach e4da606164 set TOP to build with esp32sx 2021-06-12 23:02:41 +07:00
hathach a4ad064e63 increase example CFG_TUH_HID from 2 to 4 2021-06-12 14:20:09 +07:00
hathach 910e11a8ab fix ci build 2021-06-11 19:04:16 +07:00
hathach dfe5a727c6 log clean up 2021-06-11 18:54:09 +07:00
hathach b39faa15ef map pico_info to log2, pico_trace to log3 2021-06-11 18:44:08 +07:00
hathach a6d22f5a68 replace pico_warn by log level 1 2021-06-11 18:40:01 +07:00
hathach 66c8a13f13 remove unused variable in hw endpoint
last_buf, buf_sel, transfer_size
2021-06-11 18:26:41 +07:00
hathach 93cb2ff4cf more refactor double buffered rp2040 2021-06-11 18:16:13 +07:00
hathach 1d48320d8a rename hw endpoint
- total_len to remaining_len
- len to xferred_len
2021-06-11 17:58:29 +07:00
hathach 5d6e381ef6 refactor rp2040 usb
- make _hw_endpoint_xfer_sync and _hw_endpoint_start_next_buffer private
- drop prefix _ from _hw_endpoint_xfer_continue and
_hw_endpoint_reset_transfer
2021-06-11 17:34:51 +07:00
hathach 572d986a02 improve usbh 2021-06-11 17:14:22 +07:00
hathach a1a03c92f6 double buffered work with host 2021-06-11 17:05:49 +07:00
hathach 43656dc0a7 more clean up 2021-06-10 23:29:02 +07:00
hathach cf0a475a2e clean up 2021-06-10 22:00:59 +07:00
Ha Thach b34724215b Merge pull request #887 from hathach/host-update
Host API clean up
2021-06-10 17:42:43 +07:00
hathach c9d66dcd5f remove BOARD from output name 2021-06-10 17:24:36 +07:00
hathach c7f51cde40 implement usbh_edpt_busy (WIP), remove hcd_edpt_busy 2021-06-10 17:19:21 +07:00
hathach 7e6cba7359 remove hcd_edpt_stalled() 2021-06-10 16:55:12 +07:00
hathach 13cb016042 add usbh_classdriver.h 2021-06-10 16:48:20 +07:00
Ha Thach 3c4ab6bd8a Merge pull request #883 from hathach/fix-rp2040-host-transferred-bytes
fix computing transferred bytes with E4
2021-06-10 11:35:51 +07:00
Ha Thach 14fc0987ac Update bug_report.md 2021-06-10 11:03:58 +07:00
Ha Thach c98a95c276 Merge pull request #882 from mmosca/master
Add support for 32 button gamepads
2021-06-09 18:05:14 +07:00
hathach cffa666bd1 use alias for button naming 2021-06-09 17:45:14 +07:00
hathach d81a37d1be fix enum overflow with msp430 2021-06-09 12:10:44 +07:00