aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5cec7ba..d77125b 100644
--- a/Makefile
+++ b/Makefile
@@ -33,16 +33,26 @@ UV_VERSION := 0.13.1
# Connect IQ SDK installed by `make sdk`.
SDK_VERSION ?= 9.2.0
# Device for `make build` and `make sim`.
-DEVICE ?= fr255s
-# Simulator test devices: weakest round MIP (buttons only), rectangular AMOLED,
-# your Forerunner 70, and a large round AMOLED.
+DEVICE ?= fr70
+# Test devices. By default only the owner's Forerunner 70: unit tests, perf,
+# memory, lint builds, screenshots and the watchdog test all run on it alone,
+# which keeps runs (and screenshot reviews) short. `make <target> ALL=1` uses
+# the full set below, for example before a release.
+ALL ?=
+ifeq ($(ALL),1)
+# Weakest round MIP (buttons only), rectangular AMOLED, the Forerunner 70,
+# and a large round AMOLED.
TEST_DEVICES ?= fr255s venusq2 fr70 fr965
# Extra screenshot-only devices (README 14): MIP with touch and buttons,
# buttons-only AMOLED, the largest rectangle.
SPOT_DEVICES ?= fenix7 instinct3amoled45mm venux1
-# `make watchdog`: one device per watchdog class (120,000 and 240,000
-# bytecodes per event).
+# One device per watchdog class (120,000 and 240,000 bytecodes per event).
WATCHDOG_DEVICES ?= fr255s fr70
+else
+TEST_DEVICES ?= fr70
+SPOT_DEVICES ?=
+WATCHDOG_DEVICES ?= fr70
+endif
# `make lock` only uses package releases published before this moment.
LOCK_CUTOFF ?= 2026-10-01T00:00:00Z
# Set to `nuke` to skip the confirmation prompt of `make nuke`.