summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulian Blake Kongslie2024-07-25 13:28:55 -0700
committerJulian Blake Kongslie2024-07-25 13:28:55 -0700
commit5c49f7c2e46d6fced0763094ec05bba41298cbed (patch)
tree951d9fd4744eec31557274e3af659aab01185436 /Makefile
downloadrivulet-5c49f7c2e46d6fced0763094ec05bba41298cbed.tar.xz
Initial working version.HEADmain
Diffstat (limited to '')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..22d8da7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
1connect:
2 picocom --baud 115200 --flow none --parity none --databits 8 --stopbits 1 --nolock --echo --raise-rts --raise-dtr /dev/ttyACM1
3.PHONY: connect
4
5build:
6 mkdir -p build
7 cmake -B build -G Ninja
8 cmake --build build
9.PHONY: build
10
11install:
12 $(MAKE) build
13 picotool load -f -x build/rivulet.uf2
14 @until [ -e /dev/ttyACM1 ]; do sleep 0.1; done; sleep 1
15.PHONY: install
16
17clean:
18 rm -rf build
19.PHONY: clean