summaryrefslogtreecommitdiff
path: root/tests/test
AgeCommit message (Collapse)Author
2013-06-29rename test folderhathach
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-05added dcd_dma_descriptor_t typdefhathach
reorganize test project, multiple test projects each is specifically for an MCU
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-31rename descriptor variableshathach
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-25rename descriptor type, hid descriptor typehathach
2013-05-23- move CMSIS & driver lib for lpc13u to codebase bsp/lpc13xxhathach
- change descriptor.c/h able to build device example
2013-05-14rename tusbh_hid_keyboard/mouse_is_supported to ↵hathach
tusbh_hid_keyboard/mouse_is_mounted
2013-05-13continue to refractor test codehathach
2013-05-13refractor testhathach
2013-05-13refractor test code using host_helperhathach
2013-05-13adding helper to refractor testshathach
2013-05-13test refractorhathach
2013-05-13change ceedling ignore plugin to default : ignore arg & callshathach
continue on refractoring tests
2013-05-12test againhathach
2013-05-12test clean up on the wayhathach
2013-05-12ahhh, tests refractoringhathach
2013-05-12tired of refractoring tests (wanting to do some production code)hathach
2013-05-12test refractorhathach
2013-05-11add cardinality_of function to return number of set bitshathach
refractor tests in ehci
2013-05-10clean up testhathach
2013-05-09finally get travis build without errorshathach
2013-05-09-mx32 is not supported in gcc 4.6.x. change to use if-else sizeof(void*) in ↵hathach
test code
2013-05-09test pointer size on travis systemhathach
2013-05-09refractor testhathach
try to add travis-ci
2013-05-09rename ehci_controller to ehci_controller_fakehathach
2013-05-09test clean uphathach
2013-05-06house keepinghathach
2013-05-06add stub for msc host & hub driverhathach
2013-05-06change format of file header & license spacinghathach
2013-04-28clean up mainhathach
2013-04-27fix bug (wrong logic) with osal_task_delay in non OS configurehathach
complete keyboard app with key state & event TODO handle & check for non-printable(control) keycode add unit test for osal_task_delay for non OS
2013-04-25implement hcd_port_speed_gethathach
move port reset & speed detection from isr context to usbh enumeration task - decrease time in isr significantly from 50 ms to 580us fix bug with osal_task_delay for freeRTOS buil
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-24move main work in usbh_enumeration_task to its body subtask for task_assert ↵hathach
style
2013-04-24fix potential error with usbh_control_xfer_subtask in subtask_asserthathach
change back to use task_assert style in usbh_enumeraion change test to task->subtask->subtask style in test/test_osal_none.c
2013-04-21complete the support for correct polling of 1ms 2ms 4ms 8mshathach
2013-04-21separate fake ehci's run async & period listhathach
refractor list_find_previous_item & list_remove_qhd to act on ehci_link_t* instead of ehci_qhd_t* fully support 1ms, 2ms, 4ms, 8ms for period list (each list has a dummy queue head) - change period list structure limit the maximum polling interval to 256 ms add max_loop static MAX number of iteration for list_find_previous_item add test for close 256ms polling interrupt
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-16getting build with freertos & host demohathach
2013-04-15add freeRTOS source from vendor to testhathach
remove temp freeRTOS folder in test/support use test/support/FreeRTOSConfig.h from win32-mingw demo temporarily disable all tests in test_osal_freeRTOS.c
2013-04-15create a empty test file for hubhathach
2013-04-10change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) ↵hathach
signature to osal_queue_send(osal_queue_handle_t const queue_hdl, const void * data) - support any size queue message (instead of fixed uint32_t)
2013-04-09add test & code for TUSB_EVENT_INTERFACE_OPEN for tusbh_hid_keyboard_isr ↵hathach
tusbh_hid_mouse_isr