| Age | Commit message (Collapse) | Author |
|
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
|
|
bangding I2C on PB_0 PB_1)
add back port reset after get 8 bytes of device descriptor
|
|
add tusbh_hid_keyboard_status & test code
|
|
refractor hidh_open_subtask & hidh_keyboard_open
add ATTR_PACKED_STRUCT(x)
- TODO remove ugly pre_pack & post pack
|
|
add test & code for hidh_keyboard_open_subtask
- skip parsing HID descriptor for keyboard
|
|
|
|
changing class hidh behavior
|
|
- 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
|
|
- 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
|
|
- 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
|
|
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
|
|
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
|
|
assert check in hcd init)
|
|
add static_assert support for IAR (built-in support)
|
|
- TT control
- usb cmd
complete hcd/host initialization code
|
|
- add test for async list
|
|
change hcd_init signature (omit hostid)
|
|
a header file. Missing needed to be included in *.c
|
|
|
|
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
|
|
|
|
|
|
add code to check error handling from enum task
|
|
add TASK_ASSERT test for osal_none
integrate test project better with eclipse
- assert message--> info windows
- test fail --> error windows
|
|
add assert with handler
add task assert with error catcher
|
|
add most of HID USAGE TABLE and definitions etc ...
|
|
|
|
|
|
- header file only include what it needs for its declarations.
|
|
add device_addr0 for enumeration task
start to add osal port for freeRTOS
|
|
- 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
|
|
add some more logic for enum task
|
|
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
|
|
implementing usbh_host.c
|
|
|
|
add some common api for task in osal.h for mocking
|
|
add osal_common.h to ease the complaint of MISRA 19.1
implement OSAL_NONE Task loop, semaphore wait/post and its test code
|
|
|
|
add usbh_init and test code
replace usbh_device_is_plugged in hid_host and test_hid_host with usbh_device_info_t
|
|
|
|
|
|
|
|
refractor, restructure, rename several thing regarding host, keyboard etc ...
|
|
use #if 0 instead of // for remove code
|
|
- 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
|
|
add hid host and separate hid host & device
update host project setting with EA4357 board
add para checking test for hid host
|
|
|
|
|
|
|