Commit Graph

370 Commits

Author SHA1 Message Date
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 5677258782 clean up 2018-06-06 13:40:02 +07:00
hathach f25cf35634 fix msc device driver logic 2018-05-08 16:30:07 +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 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 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 0e62cb1425 correct cdc connected 2018-04-17 17:06:40 +07:00
hathach 1b15449db6 add tud_n_cdc_get_line_state and tud_n_cdc_get_line_coding 2018-04-17 10:46:20 +07:00
hathach 92b306d9bc house keeping 2018-04-14 14:05:07 +07:00
hathach 752a9f45d7 rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user code 2018-04-12 17:55:15 +07:00
hathach 4b660175be rename CFG_TUSB_DEVICE_* to CFG_TUD_* 2018-04-12 13:23:52 +07:00
hathach 08a24ee224 refactor nrf5x mcu macro 2018-04-12 13:14:59 +07:00
hathach e1272159d8 rename MCU_ to OPT_MCU 2018-04-12 13:04:48 +07:00
hathach df367bac54 minor update dcd nrf5x
add walkaround CDC buffer for nrf52 (due to not able to NAK OUT packet)
2018-04-12 00:33:31 +07:00
hathach 7faceeb02d rename ATTR_USB_MIN_ALIGNMENT to CFG_TUSB_MEM_ALIGN 2018-04-10 19:49:00 +07:00
hathach 3c24671960 mass rename TUSB_CFG to CFG_TUSB 2018-04-10 14:31:11 +07:00
hathach 3473c71a6a enhance cdc add tud_cdc_line_state_cb(), tud_cdc_line_coding_cb() 2018-04-10 02:16:48 +07:00
hathach a74b2d34e5 fix cdc driver for connected state. 2018-04-09 18:48:38 +07:00
hathach fb27ae96b0 fix cdc_device flush send zero bytes 2018-04-07 15:04:01 +07:00
hathach 7a77aed8fa change usbd_control_xfer_st from function to macro to prevent compiler issue with substask 2018-03-31 14:09:48 +07:00
hathach d88ae5cc16 rename ASSERT_STATUS to ASSERT_ERR, merge assertion.h to verify.h 2018-03-29 13:42:55 +07:00
hathach 1d33d4e072 assert clean up 2018-03-29 13:11:36 +07:00
hathach c50da4962e clean up assert and verify 2018-03-29 13:07:27 +07:00
hathach ccf6f03817 add verify_breakpoint hw independence 2018-03-28 15:24:55 +07:00
hathach 03a4f02b89 rename ASSERT to TU_ASSERT to avoid name conflict 2018-03-28 14:49:00 +07:00
hathach 43ac711795 rename STATIC_ASSERT to VERIFY_STATIC to avoid name conflict with other codes 2018-03-28 14:23:38 +07:00
hathach 47c125d025 more dcd clean up 2018-03-28 13:54:28 +07:00
hathach 4deb4da6cb mass rename tusb_dcd API to simply dcd 2018-03-28 13:47:58 +07:00
hathach 604275341e repo cleanup 2018-03-28 13:38:17 +07:00
hathach e8b0500d40 MSC tested with nrf52840 2018-03-23 14:15:35 +07:00
hathach 3e5e1f70bf more shorten name 2018-03-23 12:42:30 +07:00
hathach 5f26c57b28 shorten descriptor type 2018-03-23 12:32:40 +07:00
hathach 6d50d05d95 rename port to rhport for clarification 2018-03-23 12:17:47 +07:00
hathach 98d6ec1ef5 remove DCD API dependency tusb_dcd_edpt_queue_xfer
improve MSC driver
2018-03-23 11:56:52 +07:00
hathach 16aa3eb437 simplify tusb_dcd_edpt_xfer API 2018-03-22 17:52:39 +07:00
hathach 0cb1604686 more msc driver improve 2018-03-22 17:48:10 +07:00
hathach 0fec2e5cc0 refactor MSC device driver 2018-03-22 17:43:13 +07:00
hathach 974e3865e8 msc clean up 2018-03-22 16:46:14 +07:00
hathach e2739bb785 rename funciton trailing _subtask to _st 2018-03-22 16:30:33 +07:00
hathach 90ba1e67d9 rename osal SUBSTASK to STASK 2018-03-22 16:25:24 +07:00
hathach 57a09b2fce clean up cdc device 2018-03-22 15:55:35 +07:00