summaryrefslogtreecommitdiff
path: root/tinyusb/common
AgeCommit message (Collapse)Author
2013-04-21rename nxp_sof_received to nxp_int_sofhathach
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
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-03-26rename pipe_status_t to tusb_interface_status_thathach
add tusbh_hid_keyboard_status & test code
2013-03-26add field to endpoint maxpacketsize (mult)hathach
refractor hidh_open_subtask & hidh_keyboard_open add ATTR_PACKED_STRUCT(x) - TODO remove ugly pre_pack & post pack
2013-03-25add several helper functionhathach
add test & code for hidh_keyboard_open_subtask - skip parsing HID descriptor for keyboard
2013-03-25change website from tinyusb.net to tinyusb.orghathach
2013-03-24refractor hidh keyboardhathach
changing class hidh behavior
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 some test for usbh_hcd integrationhathach
- 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
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-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-07make "used" member of ehci_qtd_t into reserved place of buffer[1] (with ↵hathach
assert check in hcd init)
2013-03-04add alignof to compilier specifichathach
add static_assert support for IAR (built-in support)
2013-03-04add test for hcd/host inithathach
- TT control - usb cmd complete hcd/host initialization code
2013-03-03implement hcd_init controller_inithathach
- add test for async list
2013-02-28start to add code for hcd_init testhathach
change hcd_init signature (omit hostid)
2013-02-28strengthen include policy. Only limited headers are allowed to included from ↵hathach
a header file. Missing needed to be included in *.c
2013-02-27add timeout_timer.h to provide real tick timeout service for blocking controlhathach
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-08updating usbh init with class inithathach
2013-02-06update enumeration up to get full configuration descriptorhathach
2013-02-06remove hcd_addr0_close_Ignorehathach
add code to check error handling from enum task
2013-02-06fix TASK_ASSERT for osal_none.hhathach
add TASK_ASSERT test for osal_none integrate test project better with eclipse - assert message--> info windows - test fail --> error windows
2013-02-06refractor move test enum to its own filehathach
add assert with handler add task assert with error catcher
2013-02-05remove TUSB prefix for class enum definitionshathach
add most of HID USAGE TABLE and definitions etc ...
2013-02-04complete define osal_freeRTOS for semaphore and queuehathach
2013-02-04add usbh_hcd to hold common structure/typedef for usbh and hcdhathach
2013-02-04refractor include chain with following policieshathach
- header file only include what it needs for its declarations.
2013-02-04refine ASSERT_DEFINE to allow special error_handler for os taskhathach
add device_addr0 for enumeration task start to add osal port for freeRTOS
2013-02-02refine OSAL_TASK_LOOP_BEGIN & OSAL_TASK_LOOP_ENDhathach
- 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
2013-02-01house keepinghathach
add some more logic for enum task
2013-02-01add std=gnu99 for test buildhathach
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
2013-01-31change cmock ignore to args onlyhathach
implementing usbh_host.c
2013-01-31add version macroshathach
2013-01-31add ASSERT_BIN8 and its test codehathach
add some common api for task in osal.h for mocking
2013-01-30add primitive_types.h for portable with uint8,16,32_t, and boolhathach
add osal_common.h to ease the complaint of MISRA 19.1 implement OSAL_NONE Task loop, semaphore wait/post and its test code
2013-01-29update usbh_init and testhathach
2013-01-27add usbh_device_info_t to return device statushathach
add usbh_init and test code replace usbh_device_is_plugged in hid_host and test_hid_host with usbh_device_info_t
2013-01-27update license year from 2012 to 2013hathach
2013-01-27add STATIC for local variableshathach
2013-01-27remove violation MISRA 6.3 on errorshathach
2013-01-26add more test code for keyboard hid application APIhathach
refractor, restructure, rename several thing regarding host, keyboard etc ...
2013-01-22use unsigned char instead of char for error stringhathach
use #if 0 instead of // for remove code
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-16rename some fifo functions to be more consistenthathach
2013-01-16delete mcu folders as it duplicate hal foldershathach
2013-01-16added some tests for fifo.chathach