summaryrefslogtreecommitdiff
path: root/tests/test/support
AgeCommit message (Collapse)Author
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-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-09add tusbh_hid_mouse_isr & tusbh_hid_keyboard_isr callback with xfer_complete ↵hathach
& error event
2013-04-07add test for mouse_openhathach
add hid descriptor for mouse & mouse interface to descriptor_test refractor extract function hidh_interface_status fix error with MACRO HID_REPORT_ITEM with zero data size --> redundant semicolon
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-07fix compiling error for tests projecthathach
start to add support for host hid mouse
2013-04-05continue on refratoringhathach
2013-04-05code refractor is a everyday jobhathach
2013-04-05refractor testhathach
2013-04-05add control xfer for ehci controller fake: ehci_controller_control_xfer_proceedhathach
refractor test code
2013-03-27add test for pipe_interrupt_xferhathach
implement keyboard app code - forcefully place keyboard_report in RAM section 3 change used bit in qtd from reserved in buffer[1] to alternate link add code for fake ehci controller runs on period interrupt change signature of tusbh_hid_keyboard_get_report - tusb_keyboard_report_t* to uint8_t* implement period (interrupt) complete isr processing
2013-03-25add several helper functionhathach
add test & code for hidh_keyboard_open_subtask - skip parsing HID descriptor for keyboard
2013-03-25remove obsolete TUSB_CFG_HOST_HID_KEYBOARD_ENDPOINT_SIZEhathach
temporarily ignore test for hid_host.c due to ceedling linking issue with weak symbol implement hidh_open_subtask driver to subclass open rename hidh_keyboard_install to hidh_keyboard_open_subtask
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24period_frame_list0 is not existed if period list is not requiredhathach
2013-03-24clean up:hathach
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr add keyboard_app.c/h
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-23continue clean up ehcihathach
2013-03-22use DO PING for highspeed out bulkhathach
2013-03-22fix bug: adjust all bulk queue head from ehci_data.devicehathach
2013-03-13refractor ehci test fileshathach
adding some code for async_advance_isr add test for async_advance_isr
2013-03-13add hard fault handler to bsp.chathach
rename class_install_subtask to class_open_subtask add class_close for unmount adding code for usbh_device_unplugged_isr & invoke it in hcd_isr
2013-03-12add isr api for usbh_hcdhathach
- void usbh_device_plugged_isr(uint8_t hostid, tusb_speed_t speed); - void usbh_device_unplugged_isr(uint8_t hostid); implement port_connect_status_isr
2013-03-10add code for ehci interrupt handlerhathach
- interrupt source identifying - for async list process refractor control_xfer to use insert_qtd_to_qhd - add test for control xfer interrupt processing - add code for faking ehci controller async list scheduling & processing - add prototype for void usbh_isr(pipe_handle_t pipe_hdl, uint8_t class_code);
2013-03-05refractor testshathach
2013-03-05add test & code for hcd_pipe_control_openhathach
2013-03-04abstract call chains from hal usb isrhathach
2013-03-04refractorhathach
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
2013-03-04replace TUSB_CFG_HOST by MODE_HOST_SUPPORTEDhathach
move stuffs around
2013-03-04allow configure host/device by controller basichathach
- make changes to adapt add mcu_capacity.h
2013-03-03refractorhathach
2013-03-03implement hcd_init controller_inithathach
- add test for async list
2013-03-02add "mocking" version of LPC43xx.hhathach
- redirect LPC_USB0_BASE & LPC_USB1_BASE to the address of test object add test for ehci initialization usbint register
2013-03-01rename ehci usb_int usb_sts usb/error fieldhathach
move MCU define to tusb_option.h
2013-02-27rename tusbh_device_mount_succeed_cbhathach
add set configure and tusbh_device_mount_succeed_cb invocation refractor get_configure_number_for_device
2013-02-26add osal subtask supporthathach
add usbh_control_xfer_subtask as xfer and wait fix potential error when update device info & open control pipe for new address fix build error with hal_****.c add STATIC_ASSSERT to perform compile time checking with sizeof later update osal_queue_receive and osal_semaphore_wait for osal_none to support subtask
2013-02-08updating usbh init with class inithathach
2013-02-08add TUSB_CFG_HOST_CONTROLLER_START_INDEXhathach
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX clean up some
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
2013-02-04port osal_FreeRTOS, add some include to be able to mock & linkhathach
change osal_none's queue_t member from uint16_t to uint8_t
2013-02-04add TUSB_CFG_HOST_ENUM_BUFFER_SIZEhathach
add enum buffer getting serious with osal_freeRTOS
2013-02-04refine ASSERT_DEFINE to allow special error_handler for os taskhathach
add device_addr0 for enumeration task start to add osal port for freeRTOS
2013-02-01change osal_timeout_t to uint32_thathach
implement osal_tick_get & osal_tick_tock for osal_none implement timeout for osal_semaphore_wait
2013-02-01add std=gnu99 for test buildhathach
add hcd_init to usbh_init and update test code add TUSB_CFG_OS_TICK_PER_SECOND define for TUSB_OS_NONE change osal_semaphore_wait and osal_queue_receive API to have timeout effectively
2013-01-26add more test code for keyboard hid application APIhathach
refractor, restructure, rename several thing regarding host, keyboard etc ...
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
2013-01-19change error type to lower case for more consistencyhathach
change Error Enum to TUSB prefix for more consistency start to add check for OS configure
2013-01-18prepare test project for 43xx host testhathach