about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2023-05-28 09:54:14 -0400
committerZach DeCook <zachdecook@librem.one>2023-05-29 20:30:49 -0400
commit2a686a55c79b5db22a2227f5b0eac2f46ca7f7b4 (patch)
tree9b29bc53db76f5076a1aa90404ec3d7256f7dbe4 /Makefile
parentc9f4036651abbf3ceb75ba2d78a8411df07c6d6d (diff)
downloadHexBoard-2a686a55c79b5db22a2227f5b0eac2f46ca7f7b4.tar.gz
README: Add instructions for building with arduino-cli
and minor update to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 110b398..40d6f3c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
 # Copied fqbn from build.options.json
-build/HexBoard_V1.1.ino.uf2: HexBoard_V1.1.ino
-	arduino-cli compile -b rp2040:rp2040:generic:flash=16777216_0,freq=133,opt=Small,rtti=Disabled,stackprotect=Disabled,exceptions=Disabled,dbgport=Disabled,dbglvl=None,usbstack=tinyusb,ipstack=ipv4only,boot2=boot2_generic_03h_2_padded_checksum --output-dir build	
+build/build.ino.uf2: build/build.ino
+	arduino-cli compile -b rp2040:rp2040:generic:flash=16777216_0,freq=133,opt=Small,rtti=Disabled,stackprotect=Disabled,exceptions=Disabled,dbgport=Disabled,dbglvl=None,usbstack=tinyusb,boot2=boot2_generic_03h_2_padded_checksum --output-dir build build
+build/build.ino: HexBoard_V1.1.ino
+	 cp HexBoard_V1.1.ino build/build.ino
 
-install: build/HexBoard_V1.1.ino.uf2
+install: build/build.ino.uf2
 	echo "Trying to copy into mounted device"
-	cp build/HexBoard_V1.1.ino.uf2 /run/media/zach/RPI-RP2/
+	cp build/build.ino.uf2 /run/media/zach/RPI-RP2/
 	echo "Installed."