summaryrefslogtreecommitdiff
path: root/tinyusb/device
AgeCommit message (Collapse)Author
2013-12-11fix error in dcd_lpc175x_6x (still has problem with control transfer)hathach
fix build error for host start to add keil support for device opt out pca9532.c when ea4357 is not the selected board
2013-12-09complete dcd 17xx control xfer with soft DMAhathach
keyboard LED set report run ok with lpc17xx there is problem with cdc set line encoding
2013-12-09house keeping, lpc43xx works okiehathach
2013-12-09refractor dcd lpc43xx control xfer (with int on complete)hathach
2013-12-09minor refractorhathach
2013-12-09add keyboard led maskhathach
make usbd control request to subtask add get/set report via control pipe to hidd enforce soft DMA to control pipe for lpc11u (lpc17xx not yet) temp add led_blinking_set_interval to change led blinking interval refractor dcd_pipe_control_xfer to have interrupt on complete option add get/set report support of moused_app and keyboardd_app, keyboard LED will make LED blink faster
2013-12-02add board lpclink2, able to run device stack without any problemshathach
2013-12-01adjust packet per TD for lpc13u is 1023, 11u is 64hathach
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-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-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-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 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-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-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