summaryrefslogtreecommitdiff
path: root/src/osal
AgeCommit message (Collapse)Author
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
2019-09-27add -Wextra for more warnings to examplehathach
non-stack warning (probably mcu driver) should be suppressed in the board.mk
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-21more with mynewthathach
2019-03-21update osal for mynewthathach
2019-03-20clean uphathach
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-07rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLEDhathach
2018-12-06change osal_semaphore_wait to return boolhathach
2018-12-06able to complete enumeration with os none blockinghathach
2018-12-05fix more host build errorhathach
2018-12-05fixing build error with host stackhathach
2018-12-05fix travis buildhathach
2018-12-05add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isrhathach
2018-11-23Turn off interrupts when working with the event queue.Scott Shawcroft
2018-11-23rename xfer complete enumhathach
2018-11-14usbd clean uphathach
2018-11-14clean uphathach
2018-11-14change osal_queue_receive() signaturehathach
- fix build issue with freertos
2018-11-14Merge pull request #7 from tannewt/tinyusb_samdhathach
Add SAMD support and simplify OS_NONE
2018-11-13added tud_cdc_write_str, tu_fifo only use mutex for RTOS confighathach
2018-11-07Add SAMD21 and SAMD51 support for CircuitPython.Scott Shawcroft
The ProtoThreads style subtasks were removed because it led to extremely unclear control flow. RTOSes can be used if threading is needed. Also added some additional functionality to MSC to support dynamic LUNs and read-only LUNs.