summaryrefslogtreecommitdiff
path: root/demos/host
AgeCommit message (Collapse)Author
2013-04-16create lpcxpresso project for host_freertoshathach
2013-04-16rename and "host" to "host_os_none" demo in prepare for creating ↵hathach
host_freertos demo
2013-04-15clear keyboard & mouse reporthathach
2013-04-15move project files to os_nonehathach
2013-04-15move code in host demo to /src in prepare for support freeRTOS projectshathach
2013-04-10change keyboard_app.c & mouse_app.c from polling API to interrupt-based ↵hathach
(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
2013-04-10change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) ↵hathach
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)
2013-04-09add Lib_OemBaseBoard to bsp/board but current exclude from all builds (added ↵hathach
when needed later)
2013-04-08move MCU define to tusb_option.h, fix the ATTR with USB RAMhathach
hack: add delay before the very first xfer when enumerating (finalize later after reading USB 2.0 specs)
2013-04-08fix board uart init with NGX4330 (use UART0)hathach
add USB1_PWR_EN (GPIO5[6])
2013-04-07- fix HID_MOUSEBUTTON right & lefthathach
- add mouse app to mount mouse interface
2013-04-07add hal init for USB1 and trying to get USB1 workinghathach
add hack delay 100 ms after a port reset (huge) for correct speed detection
2013-03-29fix the damn bug within 10 line of code in keyboard_app.chathach
2013-03-27quick fix for a bug in keyboard app.hathach
still have unplug/plug event after receiving report from keyboard devices
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-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-24refractor hidh keyboardhathach
changing class hidh behavior
2013-03-24add class flagshathach
change keyboard_info_pool to keyboard_data
2013-03-24clean up:hathach
- refractor tusb_handle_device_t device_hdl to uint8_t dev_addr add keyboard_app.c/h
2013-03-24house keepinghathach
2013-03-23continue clean up ehcihathach
2013-03-22- fix bug when unplugged unmounted-already device (mostly plugged when power on)hathach
- 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
2013-03-12add semaphore post in usbh_isr for control pipehathach
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
2013-03-12update keil filehathach
2013-03-12add project file for keilhathach
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
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-02-27house keepinghathach
- correct initialization call sequence - move hcd_init to ehci.c
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-08add TUSB_CFG_HOST_CONTROLLER_START_INDEXhathach
update usbh_init and test code for TUSB_CFG_HOST_CONTROLLER_START_INDEX clean up some
2013-01-27house keepinghathach
2013-01-27update license year from 2012 to 2013hathach
2013-01-26add more test code for keyboard hid application APIhathach
refractor, restructure, rename several thing regarding host, keyboard etc ...
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-18add ASSERT POINTER supporthathach
add hid host and separate hid host & device update host project setting with EA4357 board add para checking test for hid host
2012-12-27clean uphathach
2012-12-18cleaninghathach
2012-12-10running blinking examplehathach