From df7b8fe70f1c50fecb58774da82f2e1a66764645 Mon Sep 17 00:00:00 2001 From: Toby Jaffey Date: Thu, 11 Dec 2025 12:15:19 +0000 Subject: [PATCH] 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 --- README.md | 2 ++ host-arduino/host-arduino.ino | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a01812a..12c30f3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ 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. +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. + ## What is it for? * As a no-frills alternative to embedded script engines ([Lua](https://www.lua.org/), [Duktape](https://duktape.org/), [MicroPython](https://micropython.org/), etc) diff --git a/host-arduino/host-arduino.ino b/host-arduino/host-arduino.ino index 20e85c1..b566227 100644 --- a/host-arduino/host-arduino.ino +++ b/host-arduino/host-arduino.ino @@ -70,6 +70,4 @@ void loop(void) { uvm32_load(&vmst, ___precompiled_mandel_bin, ___precompiled_mandel_bin_len); isrunning = true; } - - return; }