Bringing WiFi to the Cidco Mailstation

Build: Add 'release' target to put binaries in release/ for OTA

+15
+1
.gitignore
··· 1 1 esp8266/obj 2 2 host/sendload 3 + mailstation/*.bin 3 4 mailstation/*.ihx 4 5 mailstation/*.lk 5 6 mailstation/*.lst
+11
GNUmakefile
··· 1 1 SUBDIRS := esp8266 host mailstation 2 2 3 + DOWNLOAD_URL := "https://raw.githubusercontent.com/jcs/WiFiStation/main/release/wifistation.bin" 4 + VERSION := $(shell grep '#define WIFISTATION_VERSION' esp8266/wifistation.h | sed -e 's/"$$//' -e 's/.*"//') 5 + 3 6 all: $(SUBDIRS) 4 7 $(SUBDIRS): 5 8 $(MAKE) -C $@ ··· 9 12 10 13 flash_esp8266: esp8266 11 14 env UPLOAD_PORT=/dev/cuaU1 $(MAKE) -C esp8266 flash 15 + 16 + release: all 17 + cp -f esp8266/obj/wifistation_generic/wifistation.bin release/ 18 + cp -f mailstation/wsloader.bin release/ 19 + cp -f mailstation/flashloader.bin release/ 20 + echo $(VERSION) > release/version.txt 21 + stat -f "%z" release/wifistation.bin >> release/version.txt 22 + echo $(DOWNLOAD_URL) >> release/version.txt 12 23 13 24 .PHONY: all clean $(SUBDIRS)
mailstation/flashloader.bin release/flashloader.bin
mailstation/wsloader.bin release/wsloader.bin
+3
release/version.txt
··· 1 + 0.3 2 + 314320 3 + https://cdn.jcs.org/wifistation/release/wifistation.bin
release/wifistation.bin

This is a binary file and will not be displayed.