From 67731708b308c8e01166e0f4e04a3d270dcbc203 Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Thu, 11 Jan 2024 20:04:52 +0000 Subject: [PATCH] Update compile_sim.cmd Specialised for testing Vivoactive3 under release conditions in order to check we are not running out of memory. --- compile_sim.cmd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/compile_sim.cmd b/compile_sim.cmd index a3f3159..34e75b7 100644 --- a/compile_sim.cmd +++ b/compile_sim.cmd @@ -28,7 +28,8 @@ set SDK_PATH=%SDK_PATH:~0,-1%\bin rem Assume we can create and use this directory set DEST=export rem Device for simulation -set DEVICE=venu2 +rem set DEVICE=venu2 +set DEVICE=vivoactive3 rem C:\>java -jar %SDK_PATH%\monkeybrains.jar -h rem usage: monkeyc [-a ] [-b ] [--build-stats ] [-c ] [-d ] @@ -100,7 +101,8 @@ rem Compile PRG for a single device for side loading --jungles %SRC%\monkey.jungle ^ --private-key %SRC%\..\developer_key ^ --device %DEVICE%_sim ^ - --warn + --warn ^ + --release if %ERRORLEVEL% equ 0 ( %SDK_PATH%\monkeydo.bat %SRC%\bin\HomeAssistant.prg %DEVICE%