summaryrefslogtreecommitdiff
path: root/tinyusb/core
AgeCommit message (Collapse)Author
2013-10-25move descriptor to common folderhathach
2013-10-02clean up warnings here and therehathach
2013-09-27house keepinghathach
2013-07-05change usbh_control_xfer_subtask to use flat API instead of passing ↵hathach
tusb_control_request_t struct
2013-07-05implementing initializing for RNDIShathach
2013-07-04no big deal, only rename tusb_std_request_t to tusb_control_request_thathach
2013-07-03adding _mounted_isr & _umounted_isr callback for host keyboard & mousehathach
remove TUSB_EVENT_INTERFACE_OPEN & TUSB_EVENT_INTERFACE_CLOSE
2013-07-01add cdc host driver close cdch_closehathach
refractor - add helper function in ehci qhd_next & qtd_next - extract function qhd_create_pipe_handle rename tusb_transfer_type_t to tusb_xfer_type_t add some handling for stall
2013-07-01add & pass a first few test for cdc hosthathach
implement cdch_open_subtask
2013-06-29test refractorhathach
2013-06-29adding descriptor, structure, enum support for cdchathach
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
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-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-03add TUSB_CFG_PROUDCT_ID checkhathach
move USB_MAX_EP_NUM to device dependency - lpc43 --> 6 - lpc11/13 --> 5
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-05-25rename descriptor type, hid descriptor typehathach
2013-05-06change format of file header & license spacinghathach
2013-04-07rename hidh_keyboard_info_t to hidh_interface_info_thathach
rename tusb_bus_event_t to tusb_event_t add test_mouse_init and more stuff for hidh mouse move delay after port reset to only for speed detection prioritize port change interrupt over xfer interrupt - in case of unplugged, current connect change & xfer error both set - xfer error only break to debugger if not because of unplugged fix bug: set dev addr0 state to UNPLUG after close its control pipe in enumeration process
2013-04-05add control xfer for ehci controller fake: ehci_controller_control_xfer_proceedhathach
refractor test code
2013-03-26add field to endpoint maxpacketsize (mult)hathach
refractor hidh_open_subtask & hidh_keyboard_open add ATTR_PACKED_STRUCT(x) - TODO remove ugly pre_pack & post pack
2013-03-25add several helper functionhathach
add test & code for hidh_keyboard_open_subtask - skip parsing HID descriptor for keyboard
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24add class flagshathach
change keyboard_info_pool to keyboard_data
2013-03-24add TUSB_DEVICE_STATE_INVALID_PARAMETER to tusb_device_state_thathach
2013-03-23- add control_pipe_status for usbh_device_info_t to reflect the status ↵hathach
transfer of control pipe - fix bug with hcd_port_reset + remove regs->portsc_bit.port_enable in the wait loop as device unplugged can cause this to always fails - correct the timeout for hcd_controll_stop/reset 16 uframes ~ 2 ms - potentially fix bugs device unplugged when new address is not assigned
2013-03-23enhance some testshathach
add test for usbh_isr error invoke fix bug if device unplugged before is set to new address - clean up & close control addr0 in usbh_device_unplugged_isr
2013-03-23change signature usbh_isr to add tusb_bus_event_t parameterhathach
change singature of call_isr as well
2013-03-23refractorhathach
- rename TUSB_DEVICE_STATE_READY to TUSB_DEVICE_STATE_CONFIGURED - move device_state to core/tusb_types.h - remove usbh_device_hcd_data_cleaned_up_cb, hcd now set the state directly
2013-03-13add usbh_pipe_control_close (in conjunction with usbh pipe control open)hathach
close control pipe when unplugged
2013-03-12add semaphore post in usbh_isr for control pipehathach
add osal_queue_send in usbh_device_plugged add macro for placing breakpoint macros fix ehci init: - regs->cmd or (add run_stop) - enable port power in portsc add tusb_task_runner in main loop
2013-03-09- fix wrong class code for TUSB_CLASS_APPLICATION_SPECIFIChathach
2013-03-09- addd p_qtd_list_tail to qhd structure for easy queue TDhathach
- move control_request from ehci_data to usbh_device_info_pool - add test for bulk transfer double (2 consecutive xfers) - use table (array) structure for class driver, currently included - refractor extract to function insert_qtd_to_qhd + init function + install_subtask --> all class driver function must be declared with WEAK
2013-03-05add test & code for open bulk transfer to hcd_pipe_open()hathach
2013-02-28strengthen include policy. Only limited headers are allowed to included from ↵hathach
a header file. Missing needed to be included in *.c
2013-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
2013-02-04refractor include chain with following policieshathach
- header file only include what it needs for its declarations.
2013-02-02refine OSAL_TASK_LOOP_BEGIN & OSAL_TASK_LOOP_ENDhathach
- add TASK_ASSERT & TASK_ASSERT_STATUS add more code for enumerate task add control requests & its type def add API for HCD - hcd_pipe_addr0_open - hcd_pipe_control_open - hcd_pipe_control_xfer - hcd_pipe_open - hcd_port_speed
2013-01-27house keepinghathach
2013-01-27update license year from 2012 to 2013hathach
2013-01-22start to supporthathach
- usbd host - osal some global define #define TUSB_CFG_HOST_CONTROLLER_NUM #define TUSB_CFG_HOST_DEVICE_MAX #define TUSB_CFG_CONFIGURATION_MAX rename & refractor HID type structure & enum use CException to test asssertion library add test for hid_host_keyboard with usbd configure get & osal queue get stubs update test for assertion library refractor ASSERT_STATUS in assertion library update tusb_error_t values rename usb basic type & enum in tusb_types.h and std_descriptors.h
2012-12-03change editor tab to 2 spaces.hathach
2012-12-03added IAD descriptorhathach
2012-12-03add struct declare for standard descriptorshathach
2012-12-03fix some doxygen settings and stuffs add prepacked for IAR compilerhathach