-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
35 lines (27 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := spot-check-embedded
# include $(IDF_PATH)/make/project.mk
debug:
idf.py openocd gdb --gdbinit .gdbinit --gdb-tui 1
# Run this manually - you want the second cert, the LetsEncrypt root CA one
server_cert:
echo -n | openssl s_client -showcerts -connect spotcheck.brianteam.com:443
# Assumes current commit is the one to be released and is tagged with correct version, AND FW version has been bumped in CMakeLists.txt
release:
./release.sh
# Just saving rough command for the future, not really needed as a target
font:
python fontconvert.py FiraSans_15 15 ~/Library/Fonts/FiraSans-Regular.ttf /System/Library/Fonts/HelveticaNeue.ttc > ~/Developer/spot-check-firmware/main/include/firasans_15.h
# Just saving rough command for the future, not really needed as a target
provision:
python3 ~/Developer/esp/esp-idf/tools/esp_prov/esp_prov.py --transport softap --ssid OceanBreeze211 --passphrase OceanBreeze211
#
# Can't execute as make target, saving command list. More details for testing mdns broadcast
# https://apple.stackexchange.com/a/239039
mdns:
dns-sd -B _services._dns-sd._udp
dns-sd -L "Spot Check" _tcp
dns-sd -Gv4v6 spot-check.local