Open hasheddan opened 10 months ago
@hasheddan Yes, that's great! Shall we add the CMakeLists.txt
and Kconfig
under <wamr_root>/zephry
folder? There is a CMakeLists.txt
under <wamr_root>
already.
@wenyongh either there or https://github.com/bytecodealliance/wasm-micro-runtime/tree/main/core/shared/platform/zephyr is great with me -- do you have a preference? I'll get started adding it!
@hasheddan had better put them under <wamr_root>/zephry
, core/shared/platform/zephyr
may be too deep and not easy to maintain.
@wenyongh will do, thanks!
There is currently a Zephyr module file in this repository, but it cannot be used because it references
cmake-ext
andkconfig-ext
, despiteCMakeLists.txt
andKconfig
not being present for WAMR in Zephyr upstream modules. There was discussion about including upstream in https://github.com/zephyrproject-rtos/zephyr/issues/21329, but it appears that the decision for now is for it to live separately. With that being the case, we should make it easy for Zephyr users to pull WAMR in as an external module. This primarily just consists of adding an appropriateCMakeLists.txt
andKconfig
in the WAMR repository, then pointing to them via thezephyr/module.yml
file.I'd be happy to make these updates -- @wenyongh what do you think?