summaryrefslogtreecommitdiff
path: root/tinyusb/device/usbd.c
AgeCommit message (Collapse)Author
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-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-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-18get lpc17xx running through enumeration (with control data < 64)hathach
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-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-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-06refractor dcd_controller_reset & hcd_controller_reset to hal_controller_resethathach
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
2013-10-30fix dcd_data declared with TUSB_CFG_ATTR_USBRAMhathach
fix lpc43xx UM: non-control unused endpoint type should be set to different than control in ENDPTCTRL add hid mouse device fix mouse descriptor with vertical wheel support
2013-10-29able to enumerate mouse + keyboard (missing timing at set configured though)hathach
2013-10-29change device driver init to open (when configured)hathach
fix HID_REQUEST_CONTROL_SET_REPORT handle
2013-10-29able to fully enumerated with keyboardhathach
2013-10-29implementing sw device stackhathach
2013-07-05fix a minor bughathach
2013-06-26remove app_os_prio.h in os_none configurehathach
remove instance_num in hidh API temporarily pause device stack developement should fix travis-ci build error
2013-06-21[host lpc43xx] adding support for host custom classhathach
refractor usbh class driver indexing opt out periodic list code in EHCI (need to refractor/group later) [device lpc176x] rename dcd_endpoint_configure to dcd_pipe_open add usbd_pipe_open to manage pipe
2013-06-16clean up some & add code for managing control request targeting interfacehathach
2013-06-14add dcd_pipe_control_readhathach
2013-06-14implement hidd_control_request including std & class specific to interface ↵hathach
number. refractor usbd_setup_received
2013-06-12add coreid to hidd_inithathach
temporarily implement hidd_init using dcd from lpc17xx add more test for dcd lp176x implement dcd_endpoint_configure
2013-06-12clean uphathach
2013-06-11[lpc176x][device] pass set configure control requesthathach
2013-06-11[lpc176x][device] get pass get string descriptorshathach
2013-06-11refractor dcd_pipe_control_write_zero_length to use dcd_pipe_control_writehathach
2013-06-11get pass set addresshathach
2013-06-11able to xfer device descriptor on control endpoint of lpc176xhathach
2013-06-08ADDING LPC176X devicehathach
implementing dcd_lpc175x_6x.c add usbd_dcd.h add usbd_isr with TUSB_EVENT_SETUP_RECEIVED & TUSB_EVENT_BUS_RESET event parameterize TUSB_CFG_DEVICE_CONTROL_PACKET_SIZE (replace USB_MAX_PACKET0) --> able to get interrupt and receive setup packet, but SET ADDRESS (expected get device descriptor). uncomment write zero length will cause issue, no more interrupt ?
2013-06-03refractor tusb_descriptorshathach
usbd device_class_driver added & tested HID mouse for device (work together with hid keyboard) rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
2013-06-01rename romdriver handlehathach
forming API for USBD-CLASS driver (abstract away from rom driver) separate buffer of hid class from buffer of core driver
2013-05-31refractor change tusbd_hid_keyboard_send_report APIhathach
2013-05-31refractor string descriptors, allow one-stop configure descriptor forhathach
- manufacturer, product etc ... (only english now)
2013-05-29fix lpcxpresso1347 board_ledshathach
temp change USBD_API to ROM_API add lpc13xx device support fix romdriver pointer able to init rom driver
2013-05-28rename NGX to ngxhathach
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx) add dcd_nxp_romdriver for handling usb rom driver add BIT_TEST_ in binary.h remove mw_usbd_hid.h include due to lexical conflict