6a3ae689f7
nuttx: Add missing pthread.h header ( #2009 )
2023-03-07 22:01:16 +08:00
cb7ac8fee3
nuttx: Mock socket APIs if NET is disabled ( #1896 )
2023-01-18 09:16:13 +08:00
a1786428e6
nuttx: Remove fdopendir ( #1895 )
...
The newer version of nuttx has implemented fdopendir, and the compiler
reports multiple definitions of it.
2023-01-17 11:16:01 +08:00
eaedceca2f
Add bh_print_proc_mem() to dump memory info of current process ( #1734 )
...
Only support Posix platforms currently, read memory consumption info from
file "/proc/self/status".
2022-11-25 08:33:44 +08:00
0f5b73ae67
Add mutex initializer for wasm-c-api engine operations ( #1656 )
...
The host embedder may new/delete wasm-c-api engine simultaneously
in multiple threads, which requires lock for the operations. Since there
isn't one time called global init/destroy APIs provided by wasm-c-api,
we define a global lock and initialize it with thread mutex initializer if
the platform supports that, and use it to lock the operations of engine.
If the platform doesn't support thread mutex initializer, we require
developer to create the lock by himself to ensure the thread-safe of the
engine operations.
2022-10-31 11:48:07 +08:00
3d56c8133c
Fix NuttX build error after dev/socket was merged ( #1517 )
2022-09-26 20:06:14 +08:00
bbea005db6
Make libc-builtin buffered printf be a common feature ( #1483 )
...
Add macros to control whether to use the libc-builtin buffered printf
and the buffer size.
2022-09-15 15:09:01 +08:00
f3f8d684b3
Implement POSIX semaphore support for linux platform ( #1345 )
...
Implement POSIX semaphore support for linux platform
2022-08-08 19:59:46 +08:00
bc6eda2803
Set nuttx isatty definition according to CONFIG_SERIAL_TERMIOS ( #1234 )
...
The isatty definition on nuttx depends on CONFIG_SERIAL_TERMIOS
2022-06-20 11:58:48 +08:00
da3b519642
core/shared/platform/nuttx: mock several APIs for libc-wasi ( #1127 )
2022-05-24 12:03:40 +08:00
723a808106
nuttx: Use text heap for executable memory ( #1181 )
...
Based on nuttx patch "Add up_textheap_heapmember":
https://github.com/apache/incubator-nuttx/pull/6306
2022-05-23 10:58:09 +08:00
d9d0777051
Move dlfcn.h availability check to platform_common.h ( #1134 )
2022-04-28 12:31:28 +08:00
17f62ad472
Apply clang-format for core/shared and product-mini files ( #785 )
...
Apply clang-format for core/shared and product-mini files
2021-10-14 09:12:07 +08:00
5d9597f064
platform/nuttx: Support riscv based chips ( #648 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
2021-06-07 15:37:09 +08:00
15dd651539
Fix os_cond_timedwait and other issues for NuttX sim/macOS ( #562 )
2021-05-31 09:56:47 +08:00
b75224ce03
Using posix thread implementation for NuttX ( #462 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-12-07 21:15:41 +08:00
e501a6963b
Fix some coding style issues, fix doc typo and refine some codes ( #392 )
2020-09-20 08:20:45 +08:00
c004b01be3
Introduce support for NuttX RTOS ( #377 )
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com >
Co-authored-by: Huang Qi <huangqi3@xiaomi.com >
2020-09-15 20:56:45 +08:00