update Makefile

This commit is contained in:
Sergio R. Caprile 2023-03-10 09:54:26 -03:00
parent a22d56dc41
commit cefaffa0f0

View File

@ -46,7 +46,7 @@ DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/1
update: firmware.bin
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
test update: CFLAGS_EXTRA += -DUART_DEBUG=UART1
test update: CFLAGS_EXTRA += -DUART_DEBUG=UART0
test: update
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=5 | tee /tmp/output.txt
grep 'READY, IP:' /tmp/output.txt # Check for network init