added Makefile github/nuc
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 12 Feb 2017 17:35:04 +0000 (18:35 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 12 Feb 2017 17:35:04 +0000 (18:35 +0100)
Diseq_c/Makefile [new file with mode: 0644]

diff --git a/Diseq_c/Makefile b/Diseq_c/Makefile
new file mode 100644 (file)
index 0000000..b02cb03
--- /dev/null
@@ -0,0 +1,16 @@
+# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
+# apt-get install arduino-mk
+
+#ARDUINO_DIR=/opt/arduino
+ARDUINO_SKETCHBOOK = ../
+
+#MONITOR_PORT = /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 
+
+BOARD_TAG    = nano328
+
+include /usr/share/arduino/Arduino.mk
+
+serial:
+       #microcom -s ${MONITOR_BAUDRATE} -p ${DEVICE_PATH} | uniq
+       socat ${DEVICE_PATH},b${MONITOR_BAUDRATE} - | uniq
+