64 Commits

Author SHA1 Message Date
sakumisu
e29d87bb20 update(osal): rename ticks to timeout_ms
Signed-off-by: sakumisu <1203593632@qq.com>
2025-05-06 18:16:04 +08:00
sakumisu
93a8457700 feat(osal/usb_osal_zephyr): add zephyr osal
Signed-off-by: sakumisu <1203593632@qq.com>
2025-05-06 18:09:43 +08:00
sakumisu
ccbe0232dc update(osal/usb_osal_nuttx): update timer driver
Signed-off-by: sakumisu <1203593632@qq.com>
2025-05-06 18:08:36 +08:00
huohongpeng
339a99a728
osal: add liteos_m osal (#301)
- support liteos_m

Signed-off-by: Hongpeng Huo <hongpeng.huo@hpmicro.com>
2025-04-04 13:57:22 +08:00
sakumisu
17a591f719 update(osal/idf): reduce tx fifo for more space for ep5 & ep6
Signed-off-by: sakumisu <1203593632@qq.com>
2025-02-16 20:26:30 +08:00
sakumisu
e592a548e9 feat(core/usbd_core): add ep0 setup handler into thread feature 2025-02-01 14:45:02 +08:00
sakumisu
8f44b8bad8 feat(platform/nuttx): update fs & net & cdcacm support
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-23 17:58:53 +08:00
chenzhihong007
1aa2d038aa
osal: fix rtthread usb_osal_thread_delete() API (#288)
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-01-22 10:28:55 +08:00
sakumisu
646e84bedc update(platform/nuttx): add more macros check for net and msc
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-20 18:20:21 +08:00
sakumisu
6ea1e2f94f update(osal/freertos): update usb_osal_mq_recv and usb_osal_mq_send for isr api 2024-11-06 20:14:35 +08:00
sakumisu
fd1baa62df update(osal/usb_osal_thread): implement usb_osal_sem_reset 2024-10-31 21:45:19 +08:00
sakumisu
e6fde5efab fix(port/dwc2): fix dwc2 rx fifo size, remove divided by 4 2024-09-08 22:11:38 +08:00
sakumisu
8a7979378d update(osal): add error log and assert when alloc fail, and stop working 2024-08-31 18:23:00 +08:00
sakumisu
5f43dc8662 feat(osal): add threadx port 2024-08-26 19:53:58 +08:00
sakumisu
35da8d6747 fix: fix -Wunused-parameter warning with -Wextra cflag 2024-08-21 20:08:47 +08:00
sakumisu
143a5ce3fd refactor: move CHERRYUSB_VERSION and CHERRYUSB_VERSION_STR into usb_version.h 2024-08-16 14:16:45 +08:00
sakumisu
4a252c3f73 update: idf config update 2024-08-14 21:56:40 +08:00
sakumisu
a41da8928e feat(osal): import idf osal from udoudou/esp_cherryusb 2024-08-12 22:27:29 +08:00
sakumisu
1c2fd3407a refactor(osal): use osal malloc and free, remove usb_malloc & usb_free macro 2024-07-23 19:37:54 +08:00
sakumisu
af792eabab fix typo 2024-05-21 16:08:28 +08:00
sakumisu
532e05e293 fix nuttx timeout 2024-05-11 15:59:25 +08:00
sakumisu
18c4454228 add nuttx osal 2024-05-09 10:45:27 +08:00
sakumisu
97c5e37453 add check for rtt config 2024-05-04 15:49:54 +08:00
Zhihong Chen
4357a1d7d1 osal: freeRTOS: fix enter/exit critical
- fix enter/exit critical

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-04-13 11:08:53 +08:00
sakumisu
a21947ff22 fix timer start in isr 2024-03-29 08:11:56 +08:00
sakumisu
b4c455e5e6 must enable RT_USING_TIMER_SOFT when use timer 2024-03-14 19:37:15 +08:00
sakumisu
2660af5d87 add timer to control interrupt transfer 2024-03-14 19:31:52 +08:00
sakumisu
e58a78c070 add aic & intel ehci glue, add rtems osal 2023-12-30 15:01:20 +08:00
sakumisu
f68a86ea89 add usbh_deinitialize api 2023-12-24 23:37:47 +08:00
sakumisu
14f1f597f1 add usb errno, do not use system errno 2023-12-05 21:34:32 +08:00
sakumisu
48730e20be add usb_osal_sem_reset api 2023-12-05 20:49:26 +08:00
sakumisu
11e389f922 Revert "reset sem before taking"
This reverts commit b5f0c043e7a54706cbe48db4189be1c44ceddfaf.
2023-12-05 20:45:21 +08:00
sakumisu
b5f0c043e7 reset sem before taking 2023-11-24 21:11:25 +08:00
sakumisu
73eb69bfa2 remove usb_mem.h 2023-11-17 21:05:31 +08:00
Zhihong Chen
d4ba2eef57 osal: add USB_OSAL_WAITING_FOREVER for Semaphore and Queue use
- add USB_OSAL_WAITING_FOREVER for Semaphore and Queue use

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-10-12 14:38:13 +08:00
sakimisu
47c0255cdc fix rt-thread once thread delete 2023-07-12 21:48:18 +08:00
sakimisu
7574063e94 enum device with disposable thread, do not block hub thread 2023-07-05 22:53:13 +08:00
sakimisu
bb58348510 check if current context is in irq when gives sem 2023-06-28 21:44:28 +08:00
sakimisu
1c6f062bc9 add yoc port 2023-05-26 19:47:42 +08:00
sakimisu
dc4887aef1 fix pointer in 64bit cpu, use uintptr_t instead 2023-04-21 23:24:13 +08:00
sakimisu
215d72f8f9 remove rtx os 2023-01-07 17:04:51 +08:00
sakimisu
843af28b2b update hub thread wakeup with queue not sem&list 2022-12-11 20:27:18 +08:00
sakumisu
582eb2a7ac fix usb_osal_sem_take return val in rt-thread port 2022-11-11 17:41:46 +08:00
sakumisu
7837e34f75 delete event and thread suppend/resume port 2022-09-18 18:12:05 +08:00
sakumisu
7377b5183d Simplify the license rows, standardize header macro name 2022-08-18 21:41:19 +08:00
sakumisu
88f710458c delete workq 2022-08-12 21:34:47 +08:00
sakumisu
9ed5f1ce6b sem give use from isr 2022-08-11 17:26:10 +08:00
sakumisu
9f4e063646 fix warning 2022-08-11 17:25:44 +08:00
sakumisu
859c2ee6ae modify section protect with global irq 2022-06-21 21:45:33 +08:00
sakumisu
f761392ed1 add config for workq 2022-06-14 22:02:28 +08:00