diff options
author | dakkar <dakkar@thenautilus.net> | 2018-03-23 14:37:08 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2018-03-23 14:37:08 +0000 |
commit | fb2dc5cb30a5f2a866bc143e1c211fd37a1e9406 (patch) | |
tree | 81eb9e71cd72bb0e06136432d65327c7cd82486e /trasmitter/Makefile | |
parent | move into subdir (diff) | |
download | thermostat-fb2dc5cb30a5f2a866bc143e1c211fd37a1e9406.tar.gz thermostat-fb2dc5cb30a5f2a866bc143e1c211fd37a1e9406.tar.bz2 thermostat-fb2dc5cb30a5f2a866bc143e1c211fd37a1e9406.zip |
start of transmitter
seems to produce the right waveform, but the receiver doesn't react
Diffstat (limited to 'trasmitter/Makefile')
-rw-r--r-- | trasmitter/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
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) |