| Age | Commit message (Collapse) | Author |
|
remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal
|
|
|
|
move USB_MAX_EP_NUM to device dependency
- lpc43 --> 6
- lpc11/13 --> 5
|
|
|
|
usbd device_class_driver
added & tested HID mouse for device (work together with hid keyboard)
rename DEVICE_ROM_REG_BASE, DEVICE_ROM_DRIVER_ADDR
|
|
forming API for USBD-CLASS driver (abstract away from rom driver)
separate buffer of hid class from buffer of core driver
|
|
|
|
- manufacturer, product etc ... (only english now)
|
|
|
|
rom device runs ok with lpc11uxx
|
|
|
|
|
|
temp change USBD_API to ROM_API
add lpc13xx device support
fix romdriver pointer
able to init rom driver
|
|
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
|
|
|
|
- dcd_controller_reset
- dcd_controller_connect
|
|
dual host run without problem with mcb4300
|
|
|
|
- change descriptor.c/h able to build device example
|
|
|
|
|
|
tusbh_hid_keyboard/mouse_is_mounted
|
|
|
|
refractor tests in ehci
|
|
try to add travis-ci
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implement process mouser report to clarify mouse app task
|
|
correct freeRTOS configCPU_CLOCK_HZ to correct M4 mcu clock
|
|
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)
|
|
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
|
|
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
|
|
style
|
|
change back to use task_assert style in usbh_enumeraion
change test to task->subtask->subtask style in test/test_osal_none.c
|
|
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
|
|
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
|
|
|