50 Commits

Author SHA1 Message Date
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
myxiaonia
bcf97328d1 add keil rtx4 for arm9 osal porting file 2022-05-24 21:32:48 +08:00
sakumisu
44c282580d sem return with -ETIMEDOUT when timeout 2022-04-03 22:10:50 +08:00
sakumisu
86c0531cf9 fix size_t compile error 2022-04-01 23:09:03 +08:00
xieyangrun
322964f598 fixed osal critical section protect adapt 64bits CPU. 2022-03-31 18:40:11 +08:00
aozima
1192ce6360 fixed RT-Thread event porting. 2022-03-27 14:58:25 +08:00
aozima
3cce9e7d78 clean compiler warning. 2022-03-27 14:58:25 +08:00
jzlv
c44a26d69f psc thread use event instead,add timeout for transfer 2022-03-23 14:47:18 +08:00
sakumisu
9880fa846e revert thread prio caculate,add sem delete 2022-03-19 13:41:39 +08:00
sakumisu
68d1bc3f4f invert priority so that large number with high priority 2022-02-14 22:56:36 +08:00
sakumisu
f31d94c7f9 update sconscript and osal for rtthread 2022-02-13 15:06:58 +08:00
sakumisu
1868589843 check if in interrupt context 2022-02-07 18:13:28 +08:00
sakumisu
8588d6943e add workqueue framework 2022-01-30 22:06:00 +08:00
sakumisu
f24997db44 update osal api 2022-01-29 23:15:10 +08:00
sakumisu
43005a1b89 add usb os wrapper 2022-01-15 17:16:25 +08:00