summaryrefslogtreecommitdiff
path: root/demos
AgeCommit message (Collapse)Author
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-09adding code to allow configure MIC2555 to pull down D+/D- (still need bit ↵hathach
bangding I2C on PB_0 PB_1) add back port reset after get 8 bytes of device descriptor
2013-04-08amend last commithathach
2013-04-08- add scu_pinmux(0x2, 5, MD_PLN | MD_EZI | MD_ZI, FUNC2); // USB1_VBUS ↵hathach
monitor presence - USB1 host run ok with NGX4330
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-26- put ATTR_UNUSED to hardfault handler variables to discard compiler warninghathach
- change host_class_driver_t: open_subtask signature to accept tusb_descriptor_interface_t const * instead of uint8_t*
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-13add hard fault handler to bsp.chathach
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
2013-03-13go through all the enumeration (up to get full configuration)hathach
- 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
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-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
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-22start to supporthathach
- 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
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
2013-01-18add DEVICE_ROM_DRIVER_ADDR macro in hal to point to rom driver addhathach
add TUSB_ATTR_RAM_SECTION in tinyusb_config.h to abtract usb ram placement to application remove power_api.h (mcu dependency)
2013-01-17add UART support for ea4357 (tested)hathach
2013-01-17start to add bsp and build configuration for embedded artist 4357hathach
2013-01-17add initial support for output using ITM via SWO (not tested though)hathach
2013-01-17refractor board and start to add support for SWO retargethathach
2013-01-16add uart for lpc11uxx and retarget successfullyhathach
2013-01-15update project setting to have most warning option enable with simple switch ↵hathach
on/off (off for faster compiling time)
2013-01-11re-target printf to uart successful on LPCXpresso1347hathach
2013-01-11tested keyboard device with lpcXpresso1347 boardhathach
2013-01-11add external configure file: tusb_config.hhathach
rename the internal/default configure from tusb_cfg.h to tusb_option.h