mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-13 02:12:27 +08:00

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>