BOARD_TAG = leonardo #BOARD_TAG = blendmicro16 #DEVICE_PORT = /dev/ttyACM0 MONITOR_BAUDRATE = 115200 MONITOR_PORT ?= /dev/ttyACM0 ARDUINO_LIBS = BLE SPI EEPROM 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