File tree 2 files changed +9
-1
lines changed
step-7-webserver/pico-w5500
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 15
15
- run : make -C step-5-cmsis
16
16
- run : make -C step-6-clock
17
17
- run : make -C step-7-webserver/nucleo-f429zi
18
- - run : make -C step-7-webserver/pico-w5500
18
+ - run : make -C step-7-webserver/pico-w5500 test VCON_API_KEY=${{secrets.VCON_API_KEY}}
19
19
macos :
20
20
runs-on : macos-latest
21
21
steps :
Original file line number Diff line number Diff line change @@ -29,5 +29,13 @@ firmware.bin: firmware.elf
29
29
firmware.uf2 : firmware.bin $(BIN2UF2 )
30
30
$(BIN2UF2 ) $< $@
31
31
32
+ # Requires env variable VCON_API_KEY set
33
+ DEVICE_URL ?= https://dash.vcon.io/api/v3/devices/1
34
+ test : build
35
+ curl -su :$(VCON_API_KEY ) $(DEVICE_URL ) | tee /tmp/a
36
+ curl --fail -su :$(VCON_API_KEY ) $(DEVICE_URL ) /ota? uf2=1 --data-binary @firmware.uf2
37
+ curl --fail -su :$(VCON_API_KEY ) $(DEVICE_URL ) /tx? t=5 | tee /tmp/output.txt
38
+ grep ' Ethernet: ' /tmp/output.txt
39
+
32
40
clean :
33
41
$(RM ) firmware.* bin2uf2
You can’t perform that action at this time.
0 commit comments