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 |
|
hathach
|
1ee2bee5c8
|
clean up
|
2018-07-02 11:09:22 +07:00 |
|
hathach
|
142300ca60
|
remove sdk, add nrfx as submodule
update segger project to work with nrfx
|
2018-07-02 11:00:05 +07:00 |
|
hathach
|
a08cb6e727
|
clean up
|
2018-07-01 15:54:40 +07:00 |
|
hathach
|
19eb62ebe4
|
update auto descriptor
|
2018-07-01 15:45:04 +07:00 |
|
hathach
|
2deb0e9ae8
|
clean up
|
2018-07-01 15:15:47 +07:00 |
|
hathach
|
ff219f1f01
|
add CFG_TUD_DESC_AUTO for auto descritpor (device, config)
|
2018-07-01 15:11:58 +07:00 |
|
hathach
|
cfd5e1e6d1
|
clean up
|
2018-06-24 22:30:44 +07:00 |
|
hathach
|
6b2b6aaa3f
|
fix msc device with transfer len > 65k bytes
|
2018-06-24 00:16:22 +07:00 |
|
hathach
|
84ef486418
|
enhance and fix bug with dcd for nrf5x
fix issue with large enough bulk out.
|
2018-06-23 13:20:07 +07:00 |
|
hathach
|
b9f8575e2d
|
clean up device cdc
separate cdc tx & rx bufsize
|
2018-06-23 13:19:36 +07:00 |
|
hathach
|
d438000b99
|
clean up
|
2018-06-22 16:01:55 +07:00 |
|
hathach
|
e3591ac682
|
enhance usbd: add usbd_defer_func()
|
2018-06-22 12:53:13 +07:00 |
|
hathach
|
af268ce951
|
clean up
|
2018-06-22 00:43:41 +07:00 |
|
hathach
|
5f1bec943b
|
fix msc block count get
|
2018-06-21 12:20:21 +07:00 |
|
hathach
|
a6a06bca69
|
update msc device adjust lba for read10, write10 callback
|
2018-06-19 22:59:54 +07:00 |
|
hathach
|
19807f0c07
|
clean up
|
2018-06-19 22:59:16 +07:00 |
|
hathach
|
3ace03cbc7
|
re-increase cdc buffer for nrf52840 due to bulk out issue
|
2018-06-19 15:16:26 +07:00 |
|
hathach
|
19963ca611
|
clean up
|
2018-06-19 15:08:31 +07:00 |
|
hathach
|
f8e7695fe9
|
clean up
|
2018-06-18 14:31:15 +07:00 |
|
hathach
|
38ac69b370
|
update build project for new folde struct
|
2018-06-18 14:23:14 +07:00 |
|
hathach
|
424735d440
|
rename subfolder source to src
|
2018-06-18 14:05:24 +07:00 |
|
hathach
|
b96e8c6cef
|
move files
|
2018-06-17 14:21:37 +07:00 |
|
hathach
|
bd8fc5a112
|
clean up
|
2018-06-17 14:21:26 +07:00 |
|
hathach
|
5692b84ddf
|
adding device custom class support
add usbd_open_edpt_pair
|
2018-06-16 12:32:07 +07:00 |
|
hathach
|
2b85a8fd46
|
improve nrf52 dcd, add fix for hw ACK issue with bulk
|
2018-06-13 17:14:12 +07:00 |
|
hathach
|
d1ecef4fc3
|
correct errata check for nrf52840 first production
|
2018-06-13 14:25:33 +07:00 |
|
hathach
|
d6cb34ff22
|
clean up
|
2018-06-12 23:08:03 +07:00 |
|
hathach
|
fa2e043126
|
msc device: correct handling tud_msc_write10_cb returned value
separate proc write10 and read10
|
2018-06-07 12:10:07 +07:00 |
|
hathach
|
8f810cece9
|
extract rdwr10_get_lba, rdwr10_get_blockcount
|
2018-06-06 17:36:10 +07:00 |
|
hathach
|
a439392385
|
fix errata 187 check failed for nrf52840 1st production chip
|
2018-06-06 16:04:26 +07:00 |
|
hathach
|
5677258782
|
clean up
|
2018-06-06 13:40:02 +07:00 |
|
hathach
|
3a64acaa28
|
complete enhancing osal with static memory
|
2018-05-17 20:04:52 +07:00 |
|
hathach
|
ea7efb0fd6
|
freeRTOS osal task use static API
|
2018-05-17 19:57:51 +07:00 |
|
hathach
|
61cc8666fc
|
complete osal queue, semaphore static API
|
2018-05-17 19:19:55 +07:00 |
|
hathach
|
d6794074e1
|
osal_none remove tu_malloc in queue API
|
2018-05-17 19:13:07 +07:00 |
|
hathach
|
ca4d64caf6
|
switch osal freeRTOS port to use static semaphore & queue
|
2018-05-17 18:22:30 +07:00 |
|
hathach
|
cb40a7bfd0
|
adding static API for freeRTOS
add vApplicationGetIdleTaskMemory(), vApplicationGetTimerTaskMemory()
|
2018-05-17 17:30:19 +07:00 |
|
hathach
|
6528460563
|
update freeRTOS to v10.0.1
|
2018-05-17 16:06:57 +07:00 |
|
hathach
|
7030d64a95
|
rename vendor to lib
|
2018-05-17 16:04:15 +07:00 |
|
hathach
|
b5de2595d3
|
add os FromISR support for freeRTOS
|
2018-05-17 15:07:53 +07:00 |
|
hathach
|
013bd621f5
|
add osal_queue_send_isr/osal_semaphore_post_isr for better support freeRTOS
|
2018-05-17 13:49:38 +07:00 |
|
hathach
|
b253291314
|
update xferred bytes of control xfer for nrf5x
|
2018-05-15 22:24:26 +07:00 |
|
hathach
|
d96abdb0ad
|
add xferred bytes for device control
|
2018-05-15 22:06:49 +07:00 |
|
hathach
|
1d428b7fef
|
get nrf5x hal work with SD and non_SD configure
|
2018-05-15 12:37:48 +07:00 |
|
hathach
|
03d442a861
|
clean up
|
2018-05-14 14:19:33 +07:00 |
|
hathach
|
3b423f3901
|
refactor nrf5x hal
|
2018-05-14 13:40:41 +07:00 |
|
hathach
|
09b019f9c7
|
fix nrf52 example build error
|
2018-05-14 13:40:20 +07:00 |
|
hathach
|
3c1bbcf077
|
refactor usbd class drivers hanlding class/interface
|
2018-05-14 13:02:01 +07:00 |
|
hathach
|
e13550c4dd
|
fix build error
|
2018-05-12 12:33:53 +07:00 |
|
hathach
|
f25cf35634
|
fix msc device driver logic
|
2018-05-08 16:30:07 +07:00 |
|
hathach
|
14471f3154
|
update msc app
|
2018-04-20 21:18:59 +07:00 |
|
hathach
|
a9d4c1e339
|
enhance msc device driver
|
2018-04-20 20:23:22 +07:00 |
|
hathach
|
ec28d0d0da
|
clean up warnings
|
2018-04-20 13:42:06 +07:00 |
|
hathach
|
ba223b2a05
|
temporarily disable no SD on nrf5x
|
2018-04-19 16:55:54 +07:00 |
|
hathach
|
ea0cb6d5e5
|
update code
|
2018-04-19 16:46:31 +07:00 |
|
hathach
|
4bb00f04bb
|
msc device, fix potential mis algin access
|
2018-04-19 16:44:02 +07:00 |
|
hathach
|
f4b940f2e9
|
rename and clean up
|
2018-04-19 16:35:58 +07:00 |
|
hathach
|
3742d6fabc
|
clean up msc device driver
|
2018-04-19 16:26:18 +07:00 |
|
hathach
|
c7e924b4be
|
finalize msc cb API with tud_msc_read10_cb and tud_msc_write10_cb
|
2018-04-19 16:10:52 +07:00 |
|
hathach
|
8c0a5f7d3b
|
update nrf52840 examples
|
2018-04-18 18:05:08 +07:00 |
|
hathach
|
a9ada8ea5e
|
add msc device optional callbacks
- tud_msc_read10_complete_cb()
- tud_msc_write10_complete_cb()
- tud_msc_scsi_complete_cb()
|
2018-04-18 17:12:58 +07:00 |
|
hathach
|
9aaf86bffd
|
improve msc device
- change tud_msc_scsi_cb return type to simply bool
- change tud_msc_write10_cb, tud_msc_read10_cb params order
|
2018-04-18 16:55:44 +07:00 |
|
hathach
|
6280c50ad7
|
improve scsi: support non read10, write10 out data
|
2018-04-18 13:46:05 +07:00 |
|
hathach
|
e872962b25
|
improving msc device driver
|
2018-04-18 13:20:31 +07:00 |
|
hathach
|
a18f47353c
|
clean up
|
2018-04-17 22:16:26 +07:00 |
|