summaryrefslogtreecommitdiff
path: root/sw/Core/Src/wasmbuild.bat
diff options
context:
space:
mode:
Diffstat (limited to 'sw/Core/Src/wasmbuild.bat')
-rwxr-xr-xsw/Core/Src/wasmbuild.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/Core/Src/wasmbuild.bat b/sw/Core/Src/wasmbuild.bat
new file mode 100755
index 0000000..f247121
--- /dev/null
+++ b/sw/Core/Src/wasmbuild.bat
@@ -0,0 +1,2 @@
+@echo off
+emcc -DEMU -DWASM gfx.c plinky.c -Os -s WASM=1 -s TOTAL_MEMORY=67108864 -o plinky.js