| Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
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
|
|
& error event
|
|
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
|
|
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
|
|
start to add support for host hid mouse
|
|
|
|
|
|
|
|
refractor test code
|
|
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
|
|
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
|
|
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
|
|
|
|
|
|
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr
add keyboard_app.c/h
|
|
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
|
|
|
|
|
|
|
|
adding some code for async_advance_isr
add test for async_advance_isr
|
|
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
|
|
- 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
|
|
- 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);
|
|
|
|
|
|
|
|
- remove TUSB_CFG_HOST_CONTROLLER_START_INDEX
|
|
move stuffs around
|
|
- make changes to adapt
add mcu_capacity.h
|
|
|
|
- add test for async list
|
|
- redirect LPC_USB0_BASE & LPC_USB1_BASE to the address of test object
add test for ehci initialization usbint register
|
|
move MCU define to tusb_option.h
|
|
add set configure and tusbh_device_mount_succeed_cb invocation
refractor get_configure_number_for_device
|
|
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
|
|
|
|
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX
clean up some
|
|
add assert with handler
add task assert with error catcher
|
|
add most of HID USAGE TABLE and definitions etc ...
|
|
change osal_none's queue_t member from uint16_t to uint8_t
|
|
add enum buffer
getting serious with osal_freeRTOS
|
|
add device_addr0 for enumeration task
start to add osal port for freeRTOS
|
|
implement osal_tick_get & osal_tick_tock for osal_none
implement timeout for osal_semaphore_wait
|
|
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
|
|
refractor, restructure, rename several thing regarding host, keyboard etc ...
|
|
- 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
|
|
change Error Enum to TUSB prefix for more consistency
start to add check for OS configure
|
|
|