aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-01-18 23:38:54 -0700
committerJosh Rahm <joshuarahm@gmail.com>2023-01-18 23:38:54 -0700
commitba47b0e8ae4e5a8b2e21d96b9d8e12ea69c528bf (patch)
treec83b981797b27b484a892b3b6df4bb79b56ba235 /Makefile
downloadch-flash-ba47b0e8ae4e5a8b2e21d96b9d8e12ea69c528bf.tar.gz
ch-flash-ba47b0e8ae4e5a8b2e21d96b9d8e12ea69c528bf.tar.bz2
ch-flash-ba47b0e8ae4e5a8b2e21d96b9d8e12ea69c528bf.zip
Initial commit for the ch-flash program.
This program is a fork from https://github.com/frank-zago/isp55e0.git, except that it wait for a device to be connected if one is not present. This makes the flashing process more streamlined.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ba21548
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,5 @@
+ch-flash: ch-flash.c ch-flash.h
+ gcc -O2 -o ch-flash ch-flash.c -lusb-1.0
+
+clean:
+ rm -rf ch-flash