Commit Graph

1351 Commits

Author SHA1 Message Date
hathach 2729937e87 add tud_msc_ready() 2018-07-25 12:26:08 +07:00
hathach c5a41ac9d8 enable both mouse & keyboard example 2018-07-25 12:13:40 +07:00
hathach 71934228d2 tested boot mouse working 2018-07-25 00:16:09 +07:00
hathach 67e52af936 fix boot mouse descriptor issue 2018-07-24 22:37:44 +07:00
hathach a6fede4962 improve tud_hid_mouse API() 2018-07-24 20:51:50 +07:00
hathach b370283174 rename tud_hid_mouse_busy to tud_hid_mouse_ready 2018-07-24 20:41:06 +07:00
hathach 17369cfda0 change tud_hid_keyboard_busy() to tud_hid_keyboard_ready() for positive meaning 2018-07-24 18:18:02 +07:00
hathach bd2313aa8b house keeping 2018-07-24 18:17:09 +07:00
hathach 255f832904 rename device mouse API 2018-07-24 16:55:30 +07:00
hathach 3dc1d847b8 rename device keyboard api 2018-07-24 16:52:38 +07:00
hathach 3400dfdf4e nrf52840 boot mouse does not work, need more work 2018-07-24 00:45:07 +07:00
hathach 546f2a1165 nrf52840 example work with boot keyboard 2018-07-24 00:10:22 +07:00
hathach 5f6cd49031 clean up include 2018-07-23 23:41:14 +07:00
hathach 51903a60c5 rename timeout_ API to tu_timeout API 2018-07-23 22:36:29 +07:00
hathach 361928f429 rename timeout_timer.h to tusb_timeout.h 2018-07-23 22:32:21 +07:00
hathach 176607dbe1 rename tud_hid_mouse_is_busy to tud_hid_mouse_busy 2018-07-23 22:30:24 +07:00
hathach 3e209f9c20 enhance device hid
- add CFG_TUD_HID_ASCII_TO_KEYCODE_LOOKUP
- add tud_hid_keyboard_send_keycode(), tud_hid_keyboard_send_char(),
tud_hid_keyboard_send_string()
- add timeout_blocking_wait()
2018-07-23 17:46:07 +07:00
hathach 262be103e0 add descriptor string count for tud_desc_set_t 2018-07-23 16:12:14 +07:00
hathach 2bff2a7d97 fix descriptor minor issue 2018-07-23 16:01:02 +07:00
hathach 4342325ee1 reworking device hid class driver 2018-07-23 15:25:45 +07:00
hathach 141ac25e3b also added wanted char to fifo 2018-07-20 15:47:28 +07:00
hathach 421ae8fc82 nrf: move power setup out of stack (to application) 2018-07-17 23:55:56 +07:00
hathach 6129670e4a forgot to add tud_cdc_read_flush() 2018-07-17 21:20:37 +07:00
hathach 798ce59ebd revert usbd_control_xfer_st() implementation
enhance cdc with better multiple interfaces support
add default ep size for cdc and msc device CFG_TUD_CDC_EPSIZE,
CFG_TUD_MSC_EPSIZE
2018-07-17 16:04:55 +07:00
hathach abb37e98ba rename tud_cdc_flush() to tud_cdc_write_flush(), add tud_cdc_read_flush() 2018-07-14 23:43:19 +07:00
hathach 19b6bbfd14 add device cdc wanted char callback, cdc peek 2018-07-14 23:28:07 +07:00
hathach e0c4e11ea3 use _usbd_ctrl_buf for control transferm refactor cdc device 2018-07-14 15:12:42 +07:00
hathach 7a1f40593f only call class xfer callback associated with endpoint address 2018-07-13 18:01:16 +07:00
hathach 1efb552bfd add ep2drv, rename descriptor offset 2018-07-13 17:48:26 +07:00
hathach cd5b5d3a53 change mapping interface to driver instead of class code 2018-07-13 16:52:22 +07:00
hathach dccb06ba7d rename class driver close() to reset() 2018-07-13 16:09:26 +07:00
hathach 5f8882a6d7 remove unused usbd dev state 2018-07-13 15:08:38 +07:00
hathach 584b6f716d more clean up 2018-07-13 14:44:44 +07:00
hathach ffdd925854 clean up 2018-07-13 00:34:32 +07:00
hathach a623f0c179 better multiple interfaces support for cdc device 2018-07-13 00:32:02 +07:00
hathach a4292e5906 changing cdc device to support multiple interface (not yet) 2018-07-12 23:08:54 +07:00
hathach 44c494106f clean up 2018-07-12 22:42:03 +07:00
hathach 925c462b72 rename CFG_TUD_ENUM_BUFFER_SIZE to CFG_TUD_CTRL_BUFSIZE 2018-07-12 22:40:22 +07:00
hathach 3134d21b24 dropping multiple port device support 2018-07-12 22:25:06 +07:00
hathach 2d79023a5a update example 2018-07-12 22:15:22 +07:00
hathach a0849fee9f add nrf errata check temporarily part of hal_nrf 2018-07-10 22:08:03 +07:00
hathach f5652a0146 change nrfx module from git to https 2018-07-10 12:05:56 +07:00
hathach 5d8cf5cf8f fix ITF count 2018-07-10 00:56:58 +07:00
hathach 15cd30629a clean up usbd auto desc 2018-07-10 00:36:07 +07:00
hathach 40de723d41 allow tusb_init() to call multiple times
enhance nrf5x
2018-07-05 00:23:47 +07:00
hathach fc139b009f add CFG_TUD_MSC_VENDOR,CFG_TUD_MSC_PRODUCT, CFG_TUD_MSC_PRODUCT_REV for msc inquiry response 2018-07-04 15:00:46 +07:00
hathach 3eb410cf85 add CFG_TUD_MSC_BLOCK_NUM, CFG_TUD_MSC_BLOCK_SZ msc device auto response to scsi read capa and read format cap 2018-07-04 14:39:32 +07:00
hathach 3e66d2d31e rename fifo * to tu_fifo to avoid conflict with other module 2018-07-04 00:22:15 +07:00
hathach ec3227b220 add TUD_DESC_STRCONV 2018-07-03 16:39:42 +07:00
hathach 1faf0a81e4 clean up 2018-07-02 17:32:09 +07:00