Commit Graph

38 Commits

Author SHA1 Message Date
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
Yunhao Tian a6929cf03e Add support for Keil RTX4 OS abstraction layer 2021-11-30 17:19:11 +08:00
Yunhao Tian ac20605e3f Ignore certain compiler options on ARMCC
ARMCC also sets __GNU__ macro, but doesn't support
GCC diagnostic pragmas.
2021-11-30 17:19:11 +08:00
graham sanderson 06d9555389 More warning cleanup
- 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-10-14 15:23:26 -05:00
hathach f6b48c07fc
add rp2040 to host example build 2021-02-26 14:05:08 +07:00
tfx2001 1b678eccf5 add basic support for rt-thread 2021-02-08 20:46:49 +08:00
graham sanderson e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00
hathach 84425c50b3 add more logging to host stack
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-01 19:16:50 +07:00
hathach f308990ab5 Merge branch 'master' into update-host 2020-05-22 15:28:22 +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 905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
Ha Thach bfc43bad81
Merge pull request #321 from pigrew/tweak20200331
Misc. tweaks, and fix for USBTMC descriptors without an INT EP
2020-04-07 12:12:44 +07:00
Nathan Conrad 06d7fdc228 Use #define for OSAL_TIMEOUT_WAIT_FOREVER. 2020-04-06 12:40:58 -04:00
hathach c2606c0213 allow application to implement its own os 2020-04-05 18:22:16 +07:00
Nathan Conrad 0d5f3c7f04 Set OSAL_TIMEOUT_WAIT_FOREVER to be a const, to avoid a pedantic gcc warning about signedness. 2020-04-02 23:07:31 -04:00
Nathan Conrad 25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach 90b6b5d137 clean up tusb_verify 2019-10-18 16:38:02 +07:00
hathach 61ec407752
update license year to 2019 2019-05-14 11:48:05 +07:00
hathach 0ef7edb446 osal clean up 2019-05-01 01:46:39 +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 18f248b142
remove tusb_hal_millis() usage, less work for porting 2019-03-24 01:19:32 +07:00
hathach a1a6220ac8 update osal for mynewt 2019-03-21 00:36:52 +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 10bf41f718 change osal_queue_receive() signature
- fix build issue with freertos
2018-11-14 16:31:28 +07: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
hathach 4ef01d721a clean up osal task and subtask 2018-08-30 15:21:15 +07:00
hathach e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach d438000b99 clean up 2018-06-22 16:01:55 +07:00
hathach 424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00