TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
80 stars 7 forks source link

Port WARDuino to the Zephyr RTOS #241

Closed MaartenS11 closed 5 months ago

MaartenS11 commented 5 months ago

Closes #224.

A fully working minimal port of WARDuino to Zephyr, tested on the STM32L496ZG and the Raspberry Pi Pico W boards. The port currently contains a limited set of primitives. Other primitives needed for driving motors will be added later.

Supported primitives currently include:

[!NOTE] In proxy_supervisor.cpp I put SUCCESS in comments, this because this global variable conflicts with a global variable already defined somewhere in Zephyr. The variable doesn't really appear to be used however so we could probably just remove these exception messages or rename them if we do plan on using them in the future.