summaryrefslogtreecommitdiff
path: root/tinyusb/osal/osal.h
AgeCommit message (Collapse)Author
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
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-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-06update enumeration up to get full configuration descriptorhathach
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-04add TUSB_CFG_HOST_ENUM_BUFFER_SIZEhathach
add enum buffer getting serious with osal_freeRTOS
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-01change osal_timeout_t to uint32_thathach
implement osal_tick_get & osal_tick_tock for osal_none implement timeout for osal_semaphore_wait
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 ASSERT_BIN8 and its test codehathach
add some common api for task in osal.h for mocking