hathach
669e36d674
fix freertos issue when 1 tick > 1 ms
2022-04-20 14:37:42 +07:00
hathach
a90839688c
add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both pending for event queue with timeout of 1 ms
2022-04-20 13:25:38 +07:00
hathach
4a5a53b3b8
improve rphort management for usbd
2022-02-25 18:35:21 +07:00
hathach
52645fcc1b
fix build with latest esp idf
2022-02-18 13:07:21 +07:00
hathach
73872a5df0
add CFG_TUSB_OS_INC_PATH for os include path
...
useful for freertos/ prefix with esp IDF
2021-09-25 16:16:55 +07:00
Alex Lisitsyn
2f0cb8b5f1
tinyusb: add support of esp32s3 target
...
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-04-16 13:38:00 +02:00
hathach
dfca92d29b
follow up to pr468
2020-07-21 21:06:10 +07:00
me-no-dev
3822a6a385
FreeRTOS: Yield from ISR to notify the USB task
...
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-07-20 00:46:16 +03:00
hathach
8b66098335
fix freeRTOS logic
2020-05-20 15:21:11 +07:00
hathach
d8a15aca77
remove osal_queue_t const qhdl from osal API
...
since it doesn't make any differences.
2020-05-20 14:38:34 +07:00
hathach
4e8d414bc6
added osal_queue_empty() API
...
ported for osal none/freertos/mynewt
2020-05-20 13:38:41 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6564580c3d
clean up
2019-04-02 16:23:13 +07:00
hathach
93a853cd5b
usbd add connected, suspended, remote_wakeup
...
- remove use of osal_queue_reset
2019-03-30 02:26:15 +07:00
hathach
87962a222d
clean up
2019-03-20 23:12:12 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
hathach
bc46dc6edf
osal clean up
...
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-13 13:49:09 +07:00
hathach
1d3583785f
change osal_semaphore_wait to return bool
2018-12-06 17:31:25 +07:00
hathach
4537ba66e5
fixing build error with host stack
2018-12-05 20:26:55 +07:00
hathach
6f3898572d
add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isr
2018-12-05 17:01:19 +07:00
hathach
10bf41f718
change osal_queue_receive() signature
...
- fix build issue with freertos
2018-11-14 16:31:28 +07:00
Scott Shawcroft
c582c0fda9
Add SAMD21 and SAMD51 support for CircuitPython.
...
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.
2018-11-07 12:02:28 -08:00
hathach
2708632a6a
clean up osal
2018-11-02 17:26:35 +07:00
hathach
4683dc1e68
add osal_mutex
2018-11-02 15:45:27 +07:00
hathach
3dd635f4c1
merge osal_queue_send_isr to osal_queue_send, osal_semaphore_post_isr to osal_semaphore_post
2018-10-23 15:53:29 +07:00
hathach
8600c4b616
adding mynewt to osal
2018-09-04 14:20:51 +07:00
hathach
e6fdfe8ac7
rename file
2018-09-02 20:37:02 +07:00