summaryrefslogtreecommitdiff
path: root/tinyusb/common
AgeCommit message (Collapse)Author
2013-10-25move descriptor to common folderhathach
2013-10-16clean uphathach
2013-10-02clean up warnings here and therehathach
2013-09-30able to mount one device on the hubhathach
2013-09-26refractor mschhathach
2013-09-25add tusbh_msc_statushathach
reanme PRINTF_TARGET_DEBUG_CONSOLE to PRINTF_TARGET_SEMIHOST add read10 implementation able to read fat root sector
2013-09-24allow a limited model to deal with stalled pipe/transactionhathach
added stall clear & able to mount the stupid toshiba thumb drive add HCD pipe API - bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl); - bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); - uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl); - tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl); remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-24add some tests support for msc hosthathach
refractor msch buffer for getting inital scsi like inquiry, read capacity adding support for resovling stall on control pipe
2013-09-22added read capacity 10 with hacking codehathach
2013-09-21house keepinghathach
2013-09-20start to add msc host, fix dangerous problem with unstable device when ↵hathach
plugged --> 200 ms delay. 50ms delay after each port reset
2013-09-19starting to add support for IAR workbenchhathach
2013-09-13integrate & able to run cmsis-rtx with current code basehathach
2013-07-04add some printf when a class is mountedhathach
add initial tests for rndis
2013-07-03change some license texthathach
2013-07-02add tusbh_cdc_send, t usbh_cdc_receivehathach
add cdc_serial_app for virtual com demo
2013-07-01add & pass a first few test for cdc hosthathach
implement cdch_open_subtask
2013-06-27add mutex support for osalhathach
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
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-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-22fix licensehathach
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-14implement hidd_control_request including std & class specific to interface ↵hathach
number. refractor usbd_setup_received
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-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 string descriptors, allow one-stop configure descriptor forhathach
- manufacturer, product etc ... (only english now)
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
2013-05-12test refractorhathach
2013-05-11add cardinality_of function to return number of set bitshathach
refractor tests in ehci
2013-05-06add log2_of and use this function in get_period_headhathach
2013-05-06change format of file header & license spacinghathach
2013-04-26add hid_keycode_to_ascii_tbl for hid classhathach
improve keyboard_app, should display all displayable characters improve the de-bouncing keyboard (still got some issues)
2013-04-25finally able to get freeRTOS run with current mouse + keyboard examplehathach
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault - print_greeting->vsprintf->systick -> bunch of ISR --> hardfault. printf using serial after the start of scheduler is ok though
2013-04-25add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOShathach
using plain char for error enum character increase freeRTOS configMAX_PRIORITIES to 16 house keeping & clean up compiler warning
2013-04-24- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with ↵hathach
most popular RTOS) - add new error enum TUSB_ERROR_OSAL_TASK_CREATE_FAILED - move usbh_enumeration_task prototype to usbh.h - change OSAL_SUBTASK_INVOKED_AND_WAIT behavior, will not "return" in calling task when subtask got error status. calling task need to do that after the call - osal_queue_receive signature from uint32_t* to void* - implement osal_freertos.h for FreeRTOS 7.3 --> able to compile & build host_freertos + OSAL_TASK_FUNCTION + turn on FPU for M4 in both host_os_none & host_freertos (freertos requires FPU to be on to compile) + osal_task_create + OSAL_SUBTASK_INVOKED_AND_WAIT + SUBTASK_ASSERT + osal_semaphore_reset + osal_queue_flush + adding heap_1.c for memory management
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
implementing freeRTOS integration change get_period_frame_list from using lst_idx to hostid (fix bug) adding polling interval supported for interrupt: 1ms, 2ms, 4ms, 8ms - add interval_ms to get_period_head function - add bInterval to qhd_init - add support for sub-frame (less than 8 micro frames) interval - add bunch of test for interrupt different intervals
2013-04-09adding code to allow configure MIC2555 to pull down D+/D- (still need bit ↵hathach
bangding I2C on PB_0 PB_1) add back port reset after get 8 bytes of device descriptor
2013-03-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & 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-24refractor hidh keyboardhathach
changing class hidh behavior
2013-03-22- fix bug when unplugged unmounted-already device (mostly plugged when power on)hathach
- add hal_debugger_is_attached & hal_debugger_breakpoint - assert will suspend (place breakpoint) if the condition is failed and debugger is attached. Otherwise, a message to uart is printed - fix get control qhd function when dev_addr is not zero (shifted 1) - fix wrong logic for unsupported class
2013-03-13add some test for usbh_hcd integrationhathach
- add tests for pipe_close (while TDs are active) - add tests for device unplugged add tesst & implement the async_advance_isr to clean up "REMOVING" queue head - add helper find previous qhd - add remove qhd from async list - add is_removing field for async advance isr to clean up add pipe close for control pipe & bulk pipe (with tests) add helper get qhd from pipe_handle
2013-03-13go through all the enumeration (up to get full configuration)hathach
- fix init_qhd for address 0 (clear queue head --> ehci controller halted) - fix bug in usbh_init missing address0 for semaphore create TUSB_CFG_DEBUG == 3: --> ATTR_ALWAYS_INLINE is null --> allow gcc to export "normal inline" function
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-12add project file for keilhathach
fix binary.h compiler specific add hal_init code to reset & set usbmode --> able to get USB ISR remove const qualifier from return function of - get_operational_register - get_period_frame_list - get_async_head - get_period_head - get_control_qhd add stub for - hcd_port_connect_status - hcd_port_speed
2013-03-07make "used" member of ehci_qtd_t into reserved place of buffer[1] (with ↵hathach
assert check in hcd init)
2013-03-04add alignof to compilier specifichathach
add static_assert support for IAR (built-in support)
2013-03-04add test for hcd/host inithathach
- TT control - usb cmd complete hcd/host initialization code