SunJ
1de6b93045
refactor(osal): replace NuttX internal APIs with POSIX APIs
...
Replace nxsched_self() and nxsched_set_priority() with
standard POSIX sched_getparam() and sched_setparam() in
usb_osal_thread_schedule_other().
This improves portability and follows POSIX standards for
thread priority management.
Change-Id: I2e637268f77e200fbdee3e7713cba1b115976696
Signed-off-by: SunJ <jsun@bouffalolab.com >
2026-01-13 17:43:29 +08:00
sakumisu
bff8a632a9
feat(class): add usb_osal_thread_schedule_other to allow the applications which use the struct usbh_xxx to exit properly before free struct usbh_xxx
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-06-03 22:43:35 +08:00
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
ccbe0232dc
update(osal/usb_osal_nuttx): update timer driver
...
Signed-off-by: sakumisu <1203593632@qq.com >
2025-05-06 18:08:36 +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
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
35da8d6747
fix: fix -Wunused-parameter warning with -Wextra cflag
2024-08-21 20:08:47 +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