zephyr: sample: Add flash for full.bin
Previous commits added the full.bin target. Add a flash_full target to
be able to flash this full image for testing.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/samples/zephyr/Makefile b/samples/zephyr/Makefile
index d58eb28..7678615 100644
--- a/samples/zephyr/Makefile
+++ b/samples/zephyr/Makefile
@@ -142,6 +142,9 @@
flash_hello2:
$(PYOCD_FLASHTOOL) -a 0x80000 signed-hello2.bin
+flash_full:
+ $(PYOCD_FLASHTOOL) -ce -a 0 full.bin
+
check:
@if [ -z "$$ZEPHYR_BASE" ]; then echo "Zephyr environment not set up"; false; fi
@if [ -z "$(BOARD)" ]; then echo "You must specity BOARD=<board>"; false; fi