You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project is released under the Mozilla Public License 2.0, and is being developed as part of an active research project at the University of Ghent's [TOPL](https://github.com/TOPLLab) lab.
9
+
This project is released under the Mozilla Public License 2.0, and is being developed as part of an active research project at the University of Ghent's [TOPL Lab](https://github.com/TOPLLab).
10
10
11
11
The WARDuino virtual machine is a WebAssembly runtime for microcontrollers, which runs both under the Arduino and ESP-IDF toolchains.
12
-
The WARDuino project also includes a [VS Code extension](https://github.com/TOPLLab/WARDuino-VSCode) to use the remote debugging facilities offered by the virtual machine.
12
+
The WARDuino project also includes a [VS Code extension](https://github.com/TOPLLab/WARDuino-VSCode) to use both the remote debugging and the out-of-place debugging facilities offered by the virtual machine.
@@ -36,6 +36,8 @@ The WARDuino VM can be compiled with both the Arduino and ESP-IDF toolchains, an
36
36
37
37
### Build for ESP-IDF
38
38
39
+
> warning: primitive support for IDF is under construction
40
+
39
41
Before you can compile and flash with ESP-IDF, you must install and enable [the toolchain](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/linux-macos-setup.html).
40
42
You also need to disable the watchdog timer:
41
43
@@ -62,22 +64,35 @@ Or simply run `idf.py flash`.
62
64
### Build for Arduino
63
65
64
66
First, install the [arduino-cli](https://arduino.github.io/arduino-cli/0.21/installation/).
67
+
You will also need python3 with the pyserial pacakge.
65
68
66
69
Second, create the config file:
67
70
68
71
```bash
69
72
arduino-cli config init
70
73
```
71
74
72
-
If you need additional boards, such as the esp32 boards, you can add them in the generated config file. More information [here](https://arduino.github.io/arduino-cli/0.21/getting-started/).
75
+
If you need additional boards, such as the esp32 boards, you can add them in the generated config file. More information on how to install the esp32 boards can be found <ahref="./documentation/InstallArduinoESP32.md">here</a>.
76
+
(_note: WARDuino requires at least version 2.0.2 of the esp32 board manager when using esp32 devices)_
73
77
74
78
Thirdly, make sure you install the `PubSubClient` and `Adafruit NeoPixel` library. (used for MQTT and pixel primitives)
75
79
76
80
```bash
77
-
arduino-cli lib install "PubSubClient"
78
-
arduino-cli lib install "Adafruit NeoPixel"
81
+
arduino-cli lib install "PubSubClient"# for MQTT
82
+
arduino-cli lib install "Adafruit NeoPixel"# for some primitives
79
83
```
80
84
85
+
To build for Arduino with WIFI support you need to also install the following third-party libraries.
86
+
(Wou might need to set `enable_unsafe_install` to `true` in your arduino config ) <!-- Todo remove one day ---!>
0 commit comments