summaryrefslogtreecommitdiff
path: root/tinyusb/osal/osal.h
AgeCommit message (Collapse)Author
2018-06-18rename subfolder source to srchathach
2018-04-12add OSAL_TIMEOUT_CONTROL_XFER = OSAL_TIMEOUT_WAIT_FOREVERhathach
2018-04-12rename ASSERT_ERR to TU_ASSERT_ERR to prevent conflict with user codehathach
2018-04-12rename TUSB_OS_NONE, TUSB_OS_FREERTOS to OPT_OS_NONE, OPT_OS_FREERTOShathach
2018-04-10mass rename TUSB_CFG to CFG_TUSBhathach
2018-03-30remove osal_common.hhathach
2018-03-29rename VERIFY_STATUS to VERIFY_ERRhathach
2018-03-29assert clean uphathach
2018-03-22rename osal SUBSTASK to STASKhathach
2018-03-22improve usbd control transferhathach
2018-03-21osal subtask renamehathach
2018-03-14rename OSAL_SUBTASK_INVOKEDhathach
2018-03-12more renamehathach
2018-03-05clean uphathach
2018-03-05reame SUBTASK_EXIT to SUBTASK_RETURNhathach
2018-03-01osal macro clean uphathach
2018-03-01change osal_task_create signaturehathach
2018-03-01clean up osal semaphore/queue/mutexhathach
2018-02-28refactor osal queue APIhathach
2018-02-28remove cmsis rtx supporthathach
2018-02-28osal clean up remove OSAL_TASK_DEF, OSAL_TASK_FUNCTIONhathach
2018-02-28osal clean uphathach
- task create, task def macros
2014-04-17move STRING & XSTRING & STATIC_ASSERT to compiler.hhathach
disable test for a class of cdc host temporarily disable test for test_osal_none.c change include in some core files remove osal.h from common.h
2014-04-09remove OSAL_VAR for the simplicityhathach
clean up osal.h
2014-03-25more doxygen stuffshathach
2014-03-25doxygen documentinghathach
2014-03-24doxygen documentinghathach
2014-03-23doxygen clean uphathach
2014-03-19change OSAL_TASK_FUNCTION to adapt with cmsis rtxhathach
2014-03-16doxygen documenthathach
2014-02-28merge common define in osal/osal_cmsis_rtx.h & osal/osal_freeRTOS.hhathach
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-13all project can run okhathach
2013-09-13integrate & able to run cmsis-rtx with current code basehathach
2013-07-05implementing initializing for RNDIShathach
2013-06-29test refractorhathach
2013-06-29add SUBTASK_EXIT in osal.h for TDD projecthathach
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-05-06change format of file header & license spacinghathach
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-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-23rename OSAL_TASK_DECLARE to OSAL_TASK_FUNCTIONhathach
removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
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-25change website from tinyusb.net to tinyusb.orghathach
2013-03-12add semaphore reset & queue flush API for osalhathach
add semaphore reset when opening control pipe