From 661ed61779cb61473c37f4a3ad661263537e370e Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 26 Jun 2023 18:20:38 -0300 Subject: [PATCH] add hw test support for Keil --- test/keil/Makefile | 17 +++++++++++++++-- test/keil/unitest.bat | 5 ++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/test/keil/Makefile b/test/keil/Makefile index ea9e4972..4155f5ca 100644 --- a/test/keil/Makefile +++ b/test/keil/Makefile @@ -1,10 +1,23 @@ # Do NOT use parenthesis on Windows project dir names -PROJECTS = $(wildcard ../../examples/stm32/nucleo-*-keil-*) +PROJECTS ?= $(wildcard ../../examples/stm32/nucleo-*-keil-*) +TARGET ?= "Target 1" all: $(PROJECTS) # Need to test inside .bat to check and transfer errors $(PROJECTS): FORCE - unitest.bat $(subst /,\,$@) + unitest.bat $(subst /,\,$@) $(TARGET) FORCE: + +# Automated remote test. See https://vcon.io/automated-firmware-tests/ +URL ?= https://dash.vcon.io/api/v3/devices +update: $(PROJECTS) + curl -su :$(VCON_API_KEY) $(URL)/$(DEVICE)/ota?hex=1 --data-binary @$