nuttx-apps/interpreters/wamr
Huang Qi 9320597c00 wamr: Add external module registration mechanism
This patch adds module registration mechanism for WAMR runtime.

To register a module, these steps are required:
1. Include Module.mk in your module's Makefile
2. Define WAMR_MODULE_NAME as the module name
3. Implement bool wamr_module_WAMR_MODULE_NAME_register(void) function in your module's source file
4. Enable INTERPRETERS_WAMR_EXTERNAL_MODULE_REGISTRY in menuconfig

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2024-09-28 15:47:40 +08:00
..
registry wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
.gitignore wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
CMakeLists.txt wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
Kconfig wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
Make.defs Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
Makefile wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
Module.mk wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00
Toolchain.defs tools: Move final wasm module to bin/wasm as elf 2023-12-06 08:29:00 -08:00
wamr_custom_init.c wamr: Add external module registration mechanism 2024-09-28 15:47:40 +08:00