summaryrefslogtreecommitdiff
path: root/src/osal
AgeCommit message (Collapse)Author
2023-01-02Fix IAR warning: Warning[Pe381]: extra ";" ignoredMengsk
2022-12-26Merge pull request #1801 from tyustli/tyustli_sem_resetHa Thach
[add] semaphore reset support for rt-thread
2022-12-19Update osal_freertos.hjbruneaux31
Fix FreeRTOS task switch even if not required (unitialized variable usage)
2022-12-19Update osal_rtthread.htyustli
2022-12-19[add] semaphore reset support for rt-threadtyustli
add semaphore reset support for rt-thread
2022-12-15use OSAL_MUTEX_REQUIRED to replace CFG_FIFO_MUTEX/TUSB_OPT_MUTEXhathach
add macro to swallow mutex API in order to simplify code with mutex
2022-12-05clean osal_freertos, update freertos examples to work with ↵hathach
configSUPPORT_DYNAMIC_ALLOCATION only note: for example to build with configSUPPORT_STATIC_ALLOCATION = 0, one of heap_n.c must be included in makefile/cmake
2022-12-02Some reverts and changes after discussion.pete-pjb
2022-11-30Fix white space issue.pete-pjb
2022-11-30Modify FreeRTOS integration to allow non-static allocation.pete-pjb
2022-06-27fix all warnings with host rp2040hathach
2022-06-01fix compile errortfx2001
2022-04-20fix freertos issue when 1 tick > 1 mshathach
2022-04-20add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both ↵hathach
pending for event queue with timeout of 1 ms
2022-03-10refactor and integrate usbh control xfer back to usbh.chathach
fix enumeration with hub when reset port before set address
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2022-02-25improve rphort management for usbdhathach
2022-02-18fix build with latest esp idfhathach
2021-12-29add license to dcd file, slightly update readmehathach
2021-11-30Add support for Keil RTX4 OS abstraction layerYunhao Tian
2021-11-30Ignore certain compiler options on ARMCCYunhao Tian
ARMCC also sets __GNU__ macro, but doesn't support GCC diagnostic pragmas.
2021-10-14More warning cleanupgraham sanderson
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them - fix compiler warnings in rp2040 port - add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-09-25add CFG_TUSB_OS_INC_PATH for os include pathhathach
useful for freertos/ prefix with esp IDF
2021-05-25fix warnings cast function type for nrf, fix pico osal warninghathach
add TODO for overflow in tusb_fifo.c
2021-04-16tinyusb: add support of esp32s3 targetAlex Lisitsyn
add support of new esp32s3 target and the board update the roles.mk wrapper to allow dfu flashing of espressif chip update examples to allow compilation for esp32s3_addax_1 board once the code is tested the PR to original tinyusb repo will be submitted
2021-03-10fix ci build with rp2040hathach
2021-02-26add rp2040 to host example buildhathach
2021-02-19add TU_FIFO_INIT() to help with tu_fifo declarationhathach
tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
2021-02-16This fixes the overflow mathmatic in the fifoNicholas R Dinsmore
2021-02-08add basic support for rt-threadtfx2001
2021-01-19RP2040 supportgraham sanderson
2020-10-13osal_none: Fix queue definitionJerzy Kasenberg
OSAL_QUEUE_DEF was not updated while FIFO was changed to use unmasked pointers. Two fields that are crucial to new functionality were left uninitialized resulting in FIFO slowing down in time.
2020-09-01add more logging to host stackhathach
tested host with lpc4357, don't use fpu with lpc m4 since it seems to cause hardfault (stack does not make use of fpu anyway).
2020-09-01Merge branch 'master' into update-hosthathach
2020-07-21follow up to pr468hathach
2020-07-20FreeRTOS: Yield from ISR to notify the USB taskme-no-dev
If we do not yeld in ISR when we write to queue/give semaphore, the scheduler will not know of the change and will not check the queue untill the next OS tick. This change causes the task to be called immediately and makes communication many times faster.
2020-05-22Merge branch 'master' into update-hosthathach
2020-05-20fix freeRTOS logichathach
2020-05-20remove queue lock/unlock per reviewhathach
2020-05-20remove osal_queue_t const qhdl from osal APIhathach
since it doesn't make any differences.
2020-05-20added osal_queue_empty() APIhathach
ported for osal none/freertos/mynewt
2020-05-04temporarily remove osal_task_delay() from osalhathach
- add hcd_uframe_number() API, update EHCI to return uframe number - get host running on ea4357
2020-04-07Merge pull request #321 from pigrew/tweak20200331Ha Thach
Misc. tweaks, and fix for USBTMC descriptors without an INT EP
2020-04-06Use #define for OSAL_TIMEOUT_WAIT_FOREVER.Nathan Conrad
2020-04-05allow application to implement its own oshathach
2020-04-02Set OSAL_TIMEOUT_WAIT_FOREVER to be a const, to avoid a pedantic gcc warning ↵Nathan Conrad
about signedness.
2020-01-15Normalize line endingsNathan Conrad
2019-12-01Fix mynewt osal queue definitionJerzy Kasenberg
Queue table has pointers instead of data os_event structs. This resulted in crashes when elements were put to queue and overwritten variables that were just after mpool desiged for queue.
2019-11-03add a bit of log1 for debugginghathach
2019-10-18clean up tusb_verifyhathach