mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
update Makefile
This commit is contained in:
parent
a22d56dc41
commit
cefaffa0f0
@ -46,7 +46,7 @@ DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/1
|
|||||||
update: firmware.bin
|
update: firmware.bin
|
||||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/ota --data-binary @$<
|
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
|
test: update
|
||||||
curl --fail-with-body -su :$(VCON_API_KEY) $(DEVICE_URL)/tx?t=5 | tee /tmp/output.txt
|
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
|
grep 'READY, IP:' /tmp/output.txt # Check for network init
|
||||||
|
Loading…
Reference in New Issue
Block a user