summaryrefslogtreecommitdiff
path: root/src/osal/osal.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2026-06-22Merge remote-tracking branch 'tinyusb/master' into pr-osal-spin-deinitHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-06-22osal: add missing osal_spin_deinit()HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-05-27osal add osal_task_get_current_handle()hathach
2026-03-05Merge branch 'master' into fork/armusin/threadx_osalhathach
2026-02-27add osal_time_millis() to osal requirementhathach
implement tusb_time_millis_api() with osal_time_millis() when OS is not NONE
2025-12-22ThreadX OSAL header is added. Docs are updated.Aleksei Musin
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-24fix more warningshathach
2025-10-24fix several warningshathach
2025-05-20rename osal_critcal to osal_spinlockhathach
add spinlock implementation for most rtos
2025-01-21zephyrhathach
2024-03-22update osal APIhathach
add osal_semaphore_delete(), osal_mutex_delete(), osal_queue_delete()
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-01-02Fix IAR warning: Warning[Pe381]: extra ";" ignoredMengsk
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-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-02-25improve rphort management for usbdhathach
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-02-26add rp2040 to host example buildhathach
2021-02-08add basic support for rt-threadtfx2001
2021-01-19RP2040 supportgraham sanderson
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-05-22Merge branch 'master' into update-hosthathach
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-10-18clean up tusb_verifyhathach
2019-05-14update license year to 2019hathach
2019-05-01osal clean uphathach
2019-04-02clean uphathach
2019-03-30usbd add connected, suspended, remote_wakeuphathach
- remove use of osal_queue_reset
2019-03-24remove tusb_hal_millis() usage, less work for portinghathach
2019-03-21update osal for mynewthathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-13osal clean uphathach
remove OSAL_TASK_DEF, osal_task_create. Applicaton should create a task and call tinyusb_task(). This make API consistent with NO OS.
2018-12-06change osal_semaphore_wait to return boolhathach
2018-11-14change osal_queue_receive() signaturehathach
- fix build issue with freertos
2018-11-02clean up osalhathach
2018-11-02add osal_mutexhathach
2018-10-23merge osal_queue_send_isr to osal_queue_send, osal_semaphore_post_isr to ↵hathach
osal_semaphore_post
2018-09-04adding mynewt to osalhathach
2018-09-02rename filehathach