Commit Graph

55 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 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 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 e1272159d8 rename MCU_ to OPT_MCU 2018-04-12 13:04:48 +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 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 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 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 ce2fc0470c improve usbd control transfer 2018-03-22 14:15:16 +07:00
hathach 17a227ca90 osal subtask rename 2018-03-21 20:42:23 +07:00
hathach 047bc5eeb1 update msc driver 2018-03-21 20:08:57 +07:00
hathach d6dc1aa2e9 rename TUSB_REQUEST to simply TUSB_REQ_ 2018-03-21 15:31:58 +07:00
hathach 7707fe194f rename OSAL_SUBTASK_INVOKED 2018-03-14 20:48:59 +07:00
hathach 34dbb3532c more rename 2018-03-12 22:45:35 +07:00
hathach 80398cb4cb more hcd clean up 2018-03-12 22:37:12 +07:00
hathach 229a7a23b8 shorten TUSB_DESC_TYPE* 2018-03-11 21:16:51 +07:00
hathach d71334c348 tusb_type rename 2018-03-11 21:06:32 +07:00
hathach 26d81c3ea1 rename TUSB_DIR_OUT, TUSB_DIR_IN 2018-03-11 20:20:59 +07:00
hathach a77cccb33a update msc device driver to new dcd API 2018-03-11 15:31:46 +07:00
hathach 3582d2301d rename dcd_pipe to dcd_edpt 2018-03-11 14:22:04 +07:00