BOARDS_TXT = ../hardware/blend/avr/boards.txt ARDUINO_VAR_PATH = ../hardware/blend/avr/variants BOARD_TAG = blendmicro16 #DEVICE_PORT = /dev/ttyACM0 MONITOR_BAUDRATE = 115200 MONITOR_PORT ?= $(shell ls /dev/ttyACM* | head -n 1) ARDUINO_LIBS = BLE SPI EEPROM Low-Power AltSoftSerial ifdef CONFIG_MK include $(CONFIG_MK) endif ARDMK_DIR ?= /usr/share/arduino -include $(ARDMK_DIR)/Arduino.mk $(ARDMK_DIR)/Arduino.mk: @if [ ! -r $(ARDMK_DIR)/Arduino.mk ]; then echo "You need to install the arduino-mk package"; fi @false fix-lines: @for f in `ls -1 *.cpp *.h *.ino`; do \ sed -e :a -e '/^\n*$$/{$$d;N;ba' -e '}' $$f > x; \ mv x $$f; \ done