-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy patharduino.mk
24 lines (21 loc) · 840 Bytes
/
arduino.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# wrapper for arduino-mk
#
# written by SvOlli
# distributed under the terms of the GPLv3 or later
#
BOARD_TAG = pro328
MONITOR_PORT = /dev/ttyUSB0
ARDUINO_LIBS = USB_Host_Shield_Library_2.0
MONITOR_BAUDRATE = 57600
BUILD_BASE := $(abspath $(lastword $(MAKEFILE_LIST))/..)/tmp
USB2AMIGA_VARIANT := $(notdir $(CURDIR))
USER_LIB_PATH = $(HOME)/Arduino/libraries
OBJDIR = $(BUILD_BASE)/$(USB2AMIGA_VARIANT)
CFLAGS += -DUSB2AMIGA_VARIANT=$(USB2AMIGA_VARIANT) -DDEBUG=0 -Wall -Werror -Wno-error=sign-compare -Wno-error=unused-variable
CXXFLAGS += -DUSB2AMIGA_VARIANT=$(USB2AMIGA_VARIANT) -DDEBUG=0 -Wall -Werror -Wno-error=sign-compare -Wno-error=unused-variable -std=c++11
include /usr/share/arduino/Arduino.mk
debugmk:
@echo $(current_dir)
@echo "$(.VARIABLES)"
false