hathach
5108d76136
host msc: call read_capacity as part of enumeration
...
- add tuh_msc_get_block_count(), tuh_msc_get_block_size()
- rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to
tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming
- change tuh_msc_is_busy() to tuh_msc_ready()
- add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities
- add host msc configured to for state check.
2021-02-23 19:41:11 +07:00
hathach
437ccac696
implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / tuh_msc_get_maxlun()
2020-10-13 13:23:33 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
3dfb251c1e
clean up
2019-03-27 16:32:07 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
a3713f801d
clean up compiler attribute
2018-12-14 13:08:21 +07:00
hathach
07bcc6ca91
clean up files
2018-12-13 15:20:28 +07:00
hathach
bc46dc6edf
osal clean up
...
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task
and call tinyusb_task(). This make API consistent with NO OS.
2018-12-13 13:49:09 +07:00
hathach
366ab79776
able to build host hid
2018-12-07 14:57:58 +07:00
hathach
7d3ff7aff6
rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSC
2018-12-06 22:24:31 +07:00
hathach
5b09774ae0
clean up usbh, rename doxygen folder to docs
2018-12-06 21:46:34 +07:00
hathach
e0aa38ca8d
host 1800 blinky
2018-12-05 18:14:23 +07:00
hathach
cea9abd4d0
clean up lpc13
2018-12-03 19:02:35 +07:00
hathach
d96347a0f5
rename OPT_MCU_LPC13UXX to OPT_MCU_LPC13XX
2018-11-30 12:48:06 +07:00
hathach
a619ff88a3
rename xfer complete enum
2018-11-23 15:17:43 +07:00
hathach
cb8782e5f2
rename tusb_event_t to xfer_result_t
2018-11-23 15:14:47 +07:00
hathach
60d8cde695
rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTION
2018-11-22 17:21:07 +07:00
hathach
c7340f4b0e
clean up helper func
2018-10-23 12:19:32 +07:00
hathach
61e4a8c3d3
remove CFG_TUD_CDC_FLUSH_ON_SOF option
2018-08-30 15:20:15 +07:00
hathach
e07b1acbed
rename VERIFY to TU_VERIFY to avoid conflict with application
2018-08-13 18:10:23 +07:00
hathach
5dd02cbdd3
house keeping
2018-07-27 16:59:57 +07:00
hathach
e362f5fd64
rename some scsi command struct, add SCSI_CMD_MODE_SENSE_6 to built-in support command
2018-07-26 16:57:30 +07:00
hathach
226a4f8816
clean up device msc
2018-07-25 22:51:43 +07:00
hathach
9365794623
clean up device msc API
2018-07-25 20:34:56 +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
4342325ee1
reworking device hid class driver
2018-07-23 15:25:45 +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
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
19eb62ebe4
update auto descriptor
2018-07-01 15:45:04 +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
b9f8575e2d
clean up device cdc
...
separate cdc tx & rx bufsize
2018-06-23 13:19:36 +07:00
hathach
38ac69b370
update build project for new folde struct
2018-06-18 14:23:14 +07:00
hathach
ea7efb0fd6
freeRTOS osal task use static API
2018-05-17 19:57:51 +07:00
hathach
7030d64a95
rename vendor to lib
2018-05-17 16:04:15 +07:00
hathach
e13550c4dd
fix build error
2018-05-12 12:33:53 +07:00
hathach
14471f3154
update msc app
2018-04-20 21:18:59 +07:00
hathach
ea0cb6d5e5
update code
2018-04-19 16:46:31 +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
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
e872962b25
improving msc device driver
2018-04-18 13:20:31 +07:00
hathach
6f7c4346c3
add tud_set_descriptors
2018-04-16 13:46:28 +07:00
hathach
29071c10b1
rename CFG_TUSB_CONTROLLER_0_MODE to CFG_TUSB_RHPORT0_MODE
2018-04-14 14:08:48 +07:00
hathach
e7d7cb222a
rename CFG_TUSB_OS_TASK_PRIO to CFG_TUD_TASK_PRIO, TUC_DEVICE_STACKSIZE to CFG_TUD_TASK_STACKSIZE
2018-04-13 16:10:42 +07:00
hathach
6d8f4bca47
clean up
2018-04-12 13:35:45 +07:00
hathach
fa780edfb8
update project file
2018-04-12 13:32:27 +07:00
hathach
4b660175be
rename CFG_TUSB_DEVICE_* to CFG_TUD_*
2018-04-12 13:23:52 +07:00