summaryrefslogtreecommitdiff
path: root/tinyusb
AgeCommit message (Collapse)Author
2013-12-01correct stall & clear stall behavior for non-control pipehathach
fix data_residue when read10, write10 return 0 (no need for BE conversion)
2013-12-01change class_ixr to class_cbhathach
use IAD whenever enable CDC to make sure windows driver can detect change keyboard, mouse send report to int_on_complete = true
2013-12-01add some document for msc_device APIhathach
2013-12-01tested with lpc13uhathach
2013-11-30code clean uphathach
2013-11-30completely change the dcd for lpc11u & lpc13u to overcome the fact that ↵hathach
lpc11u dma cannot transfer more than 64 bytes each buffer. This implement an soft DMA for lpc11u & lpc13u (previously 1023 max) queued transfer
2013-11-26house keepinghathach
2013-11-26complete msc demo with lpc13uxx with readonly flashhathach
2013-11-26change endian conversion to native to be & be to nativehathach
completely deferred xfer isr event to usbd task complete read10, write10 sequence for large data transfer
2013-11-25refractor usbd taskhathach
move control request data into task event adding tusbd_msc_read10_cb, tusbd_msc_write10_cb (not fully supported)
2013-11-25change MCU to TUSB_CFG_MCUhathach
2013-11-22temp fix for dcd 43xx suspend detection (disconnection does not generate ↵hathach
interrupt)
2013-11-22clean uphathach
add some doxygen work finalize device disconnection & suspend - suspend & resume & remote wake up is not supported yet
2013-11-21fixed lpc11u/13u VBUS (P0_3) with pulldown resistor for USB_VBUS_DEBOUNCED ↵hathach
is correct added disconnect callback for lpc11u/13u
2013-11-21add class mounted callback for hid mouse/keyboard & refractor mouse/keyboard apphathach
2013-11-21clean uphathach
2013-11-21refractor usbd-dcd callback, add bus event isrhathach
2013-11-20fixed dcd lpc17xx queue transfer & IOC handlinghathach
able to run MSC demo
2013-11-20refractor descriptorhathach
2013-11-20house keepinghathach
2013-11-20add sw int_on_complete support for dcd lpc17xxhathach
2013-11-19complete dcd for lpc175x_6xhathach
cdc device demo can work but there is hardfault with dma descriptor with fast typing
2013-11-18get lpc17xx running through enumeration (with control data < 64)hathach
2013-11-16fix dcd_pipe_control_xfer for dcd43xxhathach
refractor tusb_descriptors.h
2013-11-15IAD supporthathach
2013-11-15add semaphore for control xfer for > 64 support for some mcu such as ↵hathach
lpc11u/lpc17xx
2013-11-15refractor usbd's get descriptorhathach
2013-11-15separate data & status from dcd_pipe_control_xferhathach
2013-11-15refractor usbd, first step to make get configuration as sub taskhathach
2013-11-15add usbd_task to handle event task eg setup receivedhathach
2013-11-15fix build error with device 43xxhathach
refractor mscd ramdisk demo
2013-11-14complete double buffering for queueing xfer for lpc11u/13u requried by msc ↵hathach
device
2013-11-13fix potential issue with stall endpointshathach
NOTE: cannot able to STALL control OUT endpoints --> unsupported with data out request may got to an issue. clean up configure, add max string descriptor configure as windows sometimes ask for string @ index 238 !!!
2013-11-13able to build and run cdc device demo on lpc11uxxhathach
2013-11-11technically, mouse + keyboard device demo also work on lpc13uxxhathach
2013-11-11remove xfer_type in endpoint_handle_thathach
cdc device demo runs on lpc13uxx
2013-11-11adding support for lpc13uxxhathach
2013-11-08add tusbd_cdc_is_busyhathach
enhance cdc serial device demo refractor fifo.c
2013-11-08add windows driver for cdchathach
add simple echo cdc serial demo add cdc device send/receive API refractor descriptor refractor cdc.h add usbd driver function - init - bus_reset
2013-11-07clean up tusb_descriptorshathach
2013-11-06added hid device hidd_isr callbackhathach
refractor keyboard dev demo app
2013-11-06fix a bug with USB1, but still cannot get interrupt occurred on USB1hathach
2013-11-06refractor for device able to work on usb1 of lpc43xx. But could not get it ↵hathach
work on EA4357
2013-11-06refractor dcd_controller_reset & hcd_controller_reset to hal_controller_resethathach
2013-11-05msc add supporthathach
- SCSI_CMD_MODE_SELECT_6 - SCSI_CMD_MODE_SENSE_6 - SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL fix msc device bug with no data unsupported command complete msc device demo with ram disk of 8KB
2013-11-01added support forhathach
- sense data scsi_sense_fixed_data_t - read format capacity scsi_read_format_capacity_data_t change msc device callback to support actual response fix dcd_pipe_clear_stall also reset toggle
2013-11-01add dcd pipe clear stallhathach
- tusb_error_t dcd_pipe_clear_stall(uint8_t coreid, uint8_t edpt_addr) but does not take endpoint_handle_t as input complete msc device driver add usbd clear stall endpoint
2013-11-01implement msc device classhathach
usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing NOTEs: somehow unable to get endpoint IN interrupt with ioc
2013-10-30clean uphathach
2013-10-30refractor hid devicehathach
add check dcd_pipe_open if endpoint is already used refractor usbd : parse and auto open class driver