From 2a5ac3c2e54bd6d059e2285e5dc95adc8bda4e34 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Tue, 26 Aug 2025 16:14:00 -0300 Subject: [PATCH] update to new wizard backend API --- .../infineon/xmc47_relax-make-baremetal-builtin/Makefile | 4 ++-- tutorials/infineon/xmc72_evk-make-baremetal-builtin/Makefile | 4 ++-- .../infineon/xmc_plt2go_4400-make-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/frdm-mcxn947-make-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/frdm-mcxn947-make-freertos-builtin/Makefile | 4 ++-- tutorials/nxp/frdm-mcxn947-xpresso-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile | 4 ++-- tutorials/nxp/rt1020-evk-make-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/rt1020-evk-make-freertos-builtin/Makefile | 4 ++-- tutorials/nxp/rt1060-evk-make-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/rt1060-evk-make-freertos-builtin/Makefile | 4 ++-- tutorials/nxp/rt1170-evk-make-baremetal-builtin/Makefile | 4 ++-- tutorials/nxp/rt1170-evk-make-freertos-builtin/Makefile | 4 ++-- .../pico-sdk/pico-2-w-picosdk-baremetal-builtin/Makefile | 4 ++-- tutorials/pico-sdk/pico-w-picosdk-baremetal-builtin/Makefile | 4 ++-- .../w5500-evb-pico-picosdk-baremetal-builtin/Makefile | 4 ++-- .../w5500-evb-pico2-picosdk-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f429zi-cube-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f429zi-cube-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f429zi-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f429zi-make-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f746zg-cube-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f746zg-cube-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f746zg-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-f746zg-make-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h563zi-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h563zi-make-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h723zg-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h723zg-make-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h743zi-cube-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h743zi-cube-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h743zi-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/nucleo-h743zi-make-freertos-builtin/Makefile | 4 ++-- tutorials/stm32/stm32h573i-dk-make-baremetal-builtin/Makefile | 4 ++-- tutorials/stm32/stm32h573i-dk-make-freertos-builtin/Makefile | 4 ++-- .../stm32/stm32h747i-disco-make-baremetal-builtin/Makefile | 4 ++-- tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin/Makefile | 4 ++-- tutorials/ti/ek-tm4c1294xl-make-freertos-builtin/Makefile | 4 ++-- 38 files changed, 76 insertions(+), 76 deletions(-) diff --git a/tutorials/infineon/xmc47_relax-make-baremetal-builtin/Makefile b/tutorials/infineon/xmc47_relax-make-baremetal-builtin/Makefile index f5cfde76..319713d3 100644 --- a/tutorials/infineon/xmc47_relax-make-baremetal-builtin/Makefile +++ b/tutorials/infineon/xmc47_relax-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/infineon/xmc72_evk-make-baremetal-builtin/Makefile b/tutorials/infineon/xmc72_evk-make-baremetal-builtin/Makefile index c8c19dd6..2a9e0634 100644 --- a/tutorials/infineon/xmc72_evk-make-baremetal-builtin/Makefile +++ b/tutorials/infineon/xmc72_evk-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/infineon/xmc_plt2go_4400-make-baremetal-builtin/Makefile b/tutorials/infineon/xmc_plt2go_4400-make-baremetal-builtin/Makefile index 05ca67e6..9edb7698 100644 --- a/tutorials/infineon/xmc_plt2go_4400-make-baremetal-builtin/Makefile +++ b/tutorials/infineon/xmc_plt2go_4400-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/frdm-mcxn947-make-baremetal-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-make-baremetal-builtin/Makefile index 8c23596e..b9d41341 100644 --- a/tutorials/nxp/frdm-mcxn947-make-baremetal-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/frdm-mcxn947-make-freertos-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-make-freertos-builtin/Makefile index 2b39ec1a..eebef6f2 100644 --- a/tutorials/nxp/frdm-mcxn947-make-freertos-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/frdm-mcxn947-xpresso-baremetal-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-xpresso-baremetal-builtin/Makefile index 20b840d5..a423b25d 100644 --- a/tutorials/nxp/frdm-mcxn947-xpresso-baremetal-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-xpresso-baremetal-builtin/Makefile @@ -17,8 +17,8 @@ firmware.axf: wizard cp wizard/$(TARGET)/$$PROJNAME.axf firmware.axf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/source ; rm mongoose.[ch] ; cp -rL ../../../../../mongoose.[ch] . diff --git a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile index 70ddebb6..7e8ad49c 100644 --- a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile @@ -17,8 +17,8 @@ firmware.axf: wizard cp wizard/$(TARGET)/$$PROJNAME.axf firmware.axf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/source ; rm mongoose.[ch] ; cp -rL ../../../../../mongoose.[ch] . diff --git a/tutorials/nxp/rt1020-evk-make-baremetal-builtin/Makefile b/tutorials/nxp/rt1020-evk-make-baremetal-builtin/Makefile index af02c21a..d29621ea 100644 --- a/tutorials/nxp/rt1020-evk-make-baremetal-builtin/Makefile +++ b/tutorials/nxp/rt1020-evk-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/rt1020-evk-make-freertos-builtin/Makefile b/tutorials/nxp/rt1020-evk-make-freertos-builtin/Makefile index cad14420..8420a78a 100644 --- a/tutorials/nxp/rt1020-evk-make-freertos-builtin/Makefile +++ b/tutorials/nxp/rt1020-evk-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/rt1060-evk-make-baremetal-builtin/Makefile b/tutorials/nxp/rt1060-evk-make-baremetal-builtin/Makefile index d6f5a062..90acae71 100644 --- a/tutorials/nxp/rt1060-evk-make-baremetal-builtin/Makefile +++ b/tutorials/nxp/rt1060-evk-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/rt1060-evk-make-freertos-builtin/Makefile b/tutorials/nxp/rt1060-evk-make-freertos-builtin/Makefile index d0cc024d..0132845f 100644 --- a/tutorials/nxp/rt1060-evk-make-freertos-builtin/Makefile +++ b/tutorials/nxp/rt1060-evk-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/rt1170-evk-make-baremetal-builtin/Makefile b/tutorials/nxp/rt1170-evk-make-baremetal-builtin/Makefile index 2618e786..cf9a12b7 100644 --- a/tutorials/nxp/rt1170-evk-make-baremetal-builtin/Makefile +++ b/tutorials/nxp/rt1170-evk-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/nxp/rt1170-evk-make-freertos-builtin/Makefile b/tutorials/nxp/rt1170-evk-make-freertos-builtin/Makefile index bb77962e..245d3d54 100644 --- a/tutorials/nxp/rt1170-evk-make-freertos-builtin/Makefile +++ b/tutorials/nxp/rt1170-evk-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/pico-sdk/pico-2-w-picosdk-baremetal-builtin/Makefile b/tutorials/pico-sdk/pico-2-w-picosdk-baremetal-builtin/Makefile index bb77025f..6d71af80 100644 --- a/tutorials/pico-sdk/pico-2-w-picosdk-baremetal-builtin/Makefile +++ b/tutorials/pico-sdk/pico-2-w-picosdk-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.uf2: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/build/firmware.uf2 ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/pico-sdk/pico-w-picosdk-baremetal-builtin/Makefile b/tutorials/pico-sdk/pico-w-picosdk-baremetal-builtin/Makefile index 1d7f34a8..f6e78ad7 100644 --- a/tutorials/pico-sdk/pico-w-picosdk-baremetal-builtin/Makefile +++ b/tutorials/pico-sdk/pico-w-picosdk-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.uf2: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/build/firmware.uf2 ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/pico-sdk/w5500-evb-pico-picosdk-baremetal-builtin/Makefile b/tutorials/pico-sdk/w5500-evb-pico-picosdk-baremetal-builtin/Makefile index 0d540444..89fd037e 100644 --- a/tutorials/pico-sdk/w5500-evb-pico-picosdk-baremetal-builtin/Makefile +++ b/tutorials/pico-sdk/w5500-evb-pico-picosdk-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.uf2: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/build/firmware.uf2 ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/pico-sdk/w5500-evb-pico2-picosdk-baremetal-builtin/Makefile b/tutorials/pico-sdk/w5500-evb-pico2-picosdk-baremetal-builtin/Makefile index d9081da4..c3d7c8e0 100644 --- a/tutorials/pico-sdk/w5500-evb-pico2-picosdk-baremetal-builtin/Makefile +++ b/tutorials/pico-sdk/w5500-evb-pico2-picosdk-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.uf2: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/build/firmware.uf2 ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-f429zi-cube-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-f429zi-cube-baremetal-builtin/Makefile index 2f43945f..2deb0ab9 100644 --- a/tutorials/stm32/nucleo-f429zi-cube-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-f429zi-cube-baremetal-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-f429zi-cube-freertos-builtin/Makefile b/tutorials/stm32/nucleo-f429zi-cube-freertos-builtin/Makefile index 5f51c472..7eee0cfe 100644 --- a/tutorials/stm32/nucleo-f429zi-cube-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-f429zi-cube-freertos-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-f429zi-make-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-f429zi-make-baremetal-builtin/Makefile index b372a84c..7e081580 100644 --- a/tutorials/stm32/nucleo-f429zi-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-f429zi-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-f429zi-make-freertos-builtin/Makefile b/tutorials/stm32/nucleo-f429zi-make-freertos-builtin/Makefile index f7e98479..c168c009 100644 --- a/tutorials/stm32/nucleo-f429zi-make-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-f429zi-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-f746zg-cube-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-f746zg-cube-baremetal-builtin/Makefile index 3453c436..0c4b6116 100644 --- a/tutorials/stm32/nucleo-f746zg-cube-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-f746zg-cube-baremetal-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-f746zg-cube-freertos-builtin/Makefile b/tutorials/stm32/nucleo-f746zg-cube-freertos-builtin/Makefile index a5c936de..9403b312 100644 --- a/tutorials/stm32/nucleo-f746zg-cube-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-f746zg-cube-freertos-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-f746zg-make-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-f746zg-make-baremetal-builtin/Makefile index ba1433e9..880acd35 100644 --- a/tutorials/stm32/nucleo-f746zg-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-f746zg-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-f746zg-make-freertos-builtin/Makefile b/tutorials/stm32/nucleo-f746zg-make-freertos-builtin/Makefile index c5773b01..d85f084c 100644 --- a/tutorials/stm32/nucleo-f746zg-make-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-f746zg-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h563zi-make-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-h563zi-make-baremetal-builtin/Makefile index c2a8a00e..fa77d2ca 100644 --- a/tutorials/stm32/nucleo-h563zi-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-h563zi-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h563zi-make-freertos-builtin/Makefile b/tutorials/stm32/nucleo-h563zi-make-freertos-builtin/Makefile index a883f57c..ee4861b2 100644 --- a/tutorials/stm32/nucleo-h563zi-make-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-h563zi-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h723zg-make-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-h723zg-make-baremetal-builtin/Makefile index aabba467..42dab8e7 100644 --- a/tutorials/stm32/nucleo-h723zg-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-h723zg-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h723zg-make-freertos-builtin/Makefile b/tutorials/stm32/nucleo-h723zg-make-freertos-builtin/Makefile index b0e6634b..95b88942 100644 --- a/tutorials/stm32/nucleo-h723zg-make-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-h723zg-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h743zi-cube-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-h743zi-cube-baremetal-builtin/Makefile index 52e52274..cb1843de 100644 --- a/tutorials/stm32/nucleo-h743zi-cube-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-h743zi-cube-baremetal-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-h743zi-cube-freertos-builtin/Makefile b/tutorials/stm32/nucleo-h743zi-cube-freertos-builtin/Makefile index e7124918..a1aca051 100644 --- a/tutorials/stm32/nucleo-h743zi-cube-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-h743zi-cube-freertos-builtin/Makefile @@ -17,8 +17,8 @@ firmware.elf: wizard cp wizard/$(TARGET)/$$PROJNAME.elf firmware.elf wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; cp -L ../../../../../mongoose.c . ; cp -L ../../../../../mongoose.h . diff --git a/tutorials/stm32/nucleo-h743zi-make-baremetal-builtin/Makefile b/tutorials/stm32/nucleo-h743zi-make-baremetal-builtin/Makefile index ba558bee..ed9053ac 100644 --- a/tutorials/stm32/nucleo-h743zi-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/nucleo-h743zi-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/nucleo-h743zi-make-freertos-builtin/Makefile b/tutorials/stm32/nucleo-h743zi-make-freertos-builtin/Makefile index 15184f9f..3e6c142e 100644 --- a/tutorials/stm32/nucleo-h743zi-make-freertos-builtin/Makefile +++ b/tutorials/stm32/nucleo-h743zi-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/stm32h573i-dk-make-baremetal-builtin/Makefile b/tutorials/stm32/stm32h573i-dk-make-baremetal-builtin/Makefile index c70aceb9..e5117f5b 100644 --- a/tutorials/stm32/stm32h573i-dk-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/stm32h573i-dk-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/stm32h573i-dk-make-freertos-builtin/Makefile b/tutorials/stm32/stm32h573i-dk-make-freertos-builtin/Makefile index 039331a5..fb3639fe 100644 --- a/tutorials/stm32/stm32h573i-dk-make-freertos-builtin/Makefile +++ b/tutorials/stm32/stm32h573i-dk-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/stm32/stm32h747i-disco-make-baremetal-builtin/Makefile b/tutorials/stm32/stm32h747i-disco-make-baremetal-builtin/Makefile index 62b8e623..3af3ae83 100644 --- a/tutorials/stm32/stm32h747i-disco-make-baremetal-builtin/Makefile +++ b/tutorials/stm32/stm32h747i-disco-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin/Makefile b/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin/Makefile index da50985d..de492d7f 100644 --- a/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin/Makefile +++ b/tutorials/ti/ek-tm4c1294xl-make-baremetal-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h diff --git a/tutorials/ti/ek-tm4c1294xl-make-freertos-builtin/Makefile b/tutorials/ti/ek-tm4c1294xl-make-freertos-builtin/Makefile index 77722de1..c9c7bdf8 100644 --- a/tutorials/ti/ek-tm4c1294xl-make-freertos-builtin/Makefile +++ b/tutorials/ti/ek-tm4c1294xl-make-freertos-builtin/Makefile @@ -9,8 +9,8 @@ firmware.bin: wizard make -C wizard CFLAGS_EXTRA=$(CFLAGS_EXTRA) && mv wizard/firmware.bin ./ wizard: - hash=$$(curl -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ - && curl -s $(WIZARD_URL)/api/zip/$(BOARD)/$(IDE)/$(RTOS)/$$hash -o wizard.zip + hash=$$(curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s -X POST -H "Content-Type: application/json" -d '{"build":{"board":"$(BOARD)","ide":"$(IDE)","rtos":"$(RTOS)"}}' $(WIZARD_URL)/api/hash | jq -r '.hash') \ + && curl -H 'Cookie: mongoose_wizard_uid=F2PPlAgQCqSthV1g' -s $(WIZARD_URL)/api/zip -o wizard.zip unzip wizard.zip cd wizard/mongoose ; rm mongoose.[ch] ; ln -s ../../../../../mongoose.c ; ln -s ../../../../../mongoose.h