summaryrefslogtreecommitdiff
path: root/tinyusb/osal
AgeCommit message (Collapse)Author
2013-10-27static assert to check OSAL_QUEUE_DEF's queue_depth parameter < 256hathach
enable HOST_HCD_XFER_INTERRUPT by default (previously only enabled with HID), as it is widely used implement tusbh_cdc_is_busy add compilation switch in usbh enumeration for hub rewrite CDC serial application to address usb-serial race condition
2013-10-27fix osal_none timeout, instant return with OSAL_TIMEOUT_NOTIMEOUThathach
2013-10-25more doxygen workhathach
2013-10-24change TUSB_CFG_CONTROLLER0/1_MODE to TUSB_CFG_CONTROLLER_0/1_MODE for clearancehathach
adding configuration docs for tinyusb_config.h document HID mouse & keyboard API
2013-09-24allow a limited model to deal with stalled pipe/transactionhathach
added stall clear & able to mount the stupid toshiba thumb drive add HCD pipe API - bool hcd_pipe_is_busy(pipe_handle_t pipe_hdl); - bool hcd_pipe_is_stalled(pipe_handle_t pipe_hdl); - uint8_t hcd_pipe_get_endpoint_addr(pipe_handle_t pipe_hdl); - tusb_error_t hcd_pipe_clear_stall(pipe_handle_t pipe_hdl); remove tusbh_device_mount_failed_cb (not neccessary for user)
2013-09-18clean up warningshathach
2013-09-14increase usb transaction time-out as host_cmsis_rtx easily timeoutedhathach
2013-09-13fix cmsis rtx tick configurationhathach
everything should work TODO: remove static for variable error in control xfer subtask
2013-09-13fix task def with cmsis rtxhathach
2013-09-13all project can run okhathach
2013-09-13integrate & able to run cmsis-rtx with current code basehathach
2013-09-10able to get blinky + greetinghathach
2013-07-05fix bug with RNDIS class open using non-static variable p_cdchathach
fix bug with SUBTASK_EXIT with single if (add do while wrapper) add payloay message able to send initialize & wait on notification pipe & get initialize cmpt
2013-07-05implementing initializing for RNDIShathach
2013-07-04port osal_mutex to freeRTOS, able to mount mouse & cdc devicehathach
tinyusb host stack overflow though
2013-06-29test refractorhathach
2013-06-29add SUBTASK_EXIT in osal.h for TDD projecthathach
2013-06-27use SUBTASK_EXIT to restart & exit task without "assert"hathach
2013-06-27add mutex support for osalhathach
add test for mutex in test_osal_none.c implement usbh_control_xfer using mutex to get access to queue xfer on control pipe (while semaphore is used to sync with hcd DMA) failed to issue control xfer: set idle & get report descriptor in hidh_open_subtask (more to work on)
2013-06-27add set idle request for hidh_open_subtaskhathach
add interface number to hidh_interface_info_t refractor hidh_open_subtask to be a true subtask cannot run with set idle code ON because of semaphore misuse
2013-05-21fix issue with osal_none queue defhathach
2013-05-09test clean uphathach
2013-05-06change format of file header & license spacinghathach
2013-04-27fix bug with osal_queue for freeRTOShathach
implement process mouser report to clarify mouse app task
2013-04-27fix bug (wrong logic) with osal_task_delay in non OS configurehathach
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
2013-04-25implement hcd_port_speed_gethathach
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
2013-04-25change OSAL_TASK_DEF to decouple variable name with task namehathach
implement osal_task_delay for freeRTOS & non_os getting both no_os & freertos running with mouse + keyboard
2013-04-25add attribute warn unused result for osal_create_* functionhathach
taskify keyboard_app mouse_app & led_blinking
2013-04-25add TUSB_CFG_OS_TASK_PRIO to mandatory option for using an RTOShathach
using plain char for error enum character increase freeRTOS configMAX_PRIORITIES to 16 house keeping & clean up compiler warning
2013-04-24- change OSAL_TASK_FUNCTION to have void* parameter (to be consistent with ↵hathach
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
2013-04-24move main work in usbh_enumeration_task to its body subtask for task_assert ↵hathach
style
2013-04-24fix potential error with usbh_control_xfer_subtask in subtask_asserthathach
change back to use task_assert style in usbh_enumeraion change test to task->subtask->subtask style in test/test_osal_none.c
2013-04-23rename OSAL_TASK_DECLARE to OSAL_TASK_FUNCTIONhathach
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
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-16getting build with freertos & host demohathach
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-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-29clean up, update tests for hcd_port_reset after 8 byte descriptor & set ↵hathach
configure before open class driver
2013-03-25change website from tinyusb.net to tinyusb.orghathach
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-12add semaphore reset & queue flush API for osalhathach
add semaphore reset when opening control pipe
2013-03-11add semphore reset & queue flush APIhathach
modify test to check control pipe semaphore created with usbh_init
2013-02-27add timeout_timer.h to provide real tick timeout service for blocking controlhathach
2013-02-27make osal_tick_get, osal_tick_tock static inlinehathach
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-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