| Age | Commit message (Collapse) | Author |
|
update setting for all project file respectively
|
|
|
|
- implement board_leds & board_uart routines
|
|
|
|
|
|
|
|
|
|
|
|
implement process mouser report to clarify mouse app task
|
|
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
|
|
improve keyboard_app, should display all displayable characters
improve the de-bouncing keyboard (still got some issues)
|
|
implement osal_task_delay for freeRTOS & non_os
getting both no_os & freertos running with mouse + keyboard
|
|
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
|
|
taskify keyboard_app mouse_app & led_blinking
|
|
using plain char for error enum character
increase freeRTOS configMAX_PRIORITIES to 16
house keeping & clean up compiler warning
|
|
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
|
|
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
|
|
|
|
getting led toggling per second on host demo
add greeting message
|
|
|
|
|
|
|
|
rename and moving bsp ea4357
|
|
fix some compiler warnings
|
|
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
|
|
|
|
|
|
|
|
host_freertos demo
|
|
|
|
|
|
|
|
(callback isr)
and using OSAL for task-base demo
- fix ehci error with XFER_COMPLETE callback to usbh_isr, TD need to be freed & unlink before invoking
callback
- fix bug in usbh.c set device state to CONFIGURED right after SET_CONFIGURE control xfer
|
|
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)
|
|
when needed later)
|
|
bangding I2C on PB_0 PB_1)
add back port reset after get 8 bytes of device descriptor
|
|
|
|
monitor presence
- USB1 host run ok with NGX4330
|
|
hack: add delay before the very first xfer when enumerating (finalize later
after reading USB 2.0 specs)
|
|
add USB1_PWR_EN (GPIO5[6])
|
|
- add mouse app to mount mouse interface
|
|
add hack delay 100 ms after a port reset (huge) for correct speed detection
|
|
|
|
still have unplug/plug event after receiving report from keyboard devices
|
|
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
|
|
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
|
|
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
|
|
|
|
changing class hidh behavior
|