Skip to content

Commit df7b8fe

Browse files
Footprint calculations done by building an empty sketch for an Arduino then comparing to a (no io) VM sketch.
arduino-cli compile -b STMicroelectronics:stm32:GenL0 -e
1 parent 6b2063c commit df7b8fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
uvm32 is a minimalist, dependency-free virtual machine sandbox designed for microcontrollers and other resource-constrained devices. Single C file, no dynamic memory allocations, asynchronous design, pure C99.
44

5+
On an [STM32L0](https://www.st.com/en/microcontrollers-microprocessors/stm32l0-series.html) (ARM Cortex-M0+) the required footprint is under 4KB flash/1KB RAM.
6+
57
## What is it for?
68

79
* As a no-frills alternative to embedded script engines ([Lua](https://www.lua.org/), [Duktape](https://duktape.org/), [MicroPython](https://micropython.org/), etc)

host-arduino/host-arduino.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,4 @@ void loop(void) {
7070
uvm32_load(&vmst, ___precompiled_mandel_bin, ___precompiled_mandel_bin_len);
7171
isrunning = true;
7272
}
73-
74-
return;
7573
}

0 commit comments

Comments
 (0)