From fb2dc5cb30a5f2a866bc143e1c211fd37a1e9406 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 23 Mar 2018 14:37:08 +0000 Subject: start of transmitter seems to produce the right waveform, but the receiver doesn't react --- trasmitter/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 trasmitter/Makefile (limited to 'trasmitter/Makefile') diff --git a/trasmitter/Makefile b/trasmitter/Makefile new file mode 100644 index 0000000..9815090 --- /dev/null +++ b/trasmitter/Makefile @@ -0,0 +1,19 @@ +ARDMK_DIR = /home/dakkar/src/Arduino-Makefile +ARDUINO_DIR = /usr/share/arduino +MONITOR_PORT = /dev/ttyACM* +CURRENT_DIR = $(basename $(CURDIR)) +AVR_TOOLS_DIR = /usr +AVRDUDE_CONF = /etc/avrdude.conf + +PROJECT_DIR = $(CURDIR) +BOARD_TAG = uno +MONITOR_BAUDRATE = 115200 + +CFLAGS_STD = -std=gnu11 +CXXFLAGS_STD = -std=gnu++11 +CXXFLAGS += -pedantic -Wall -Wextra + +include $(ARDMK_DIR)/Arduino.mk + +check-syntax: + $(CXX) -c -include Arduino.h -x c++ $(CXXFLAGS) $(CPPFLAGS) -fsyntax-only $(CHK_SOURCES) -- cgit v1.2.3