Merge pull request #630 from osamuaoki/ARDMK_DIR
Let's make examples platform neutral
This commit is contained in:
commit
587beb9d7c
18 changed files with 18 additions and 18 deletions
|
@ -54,6 +54,6 @@ BOARD_TAG = attiny85
|
|||
# ------------------------------------------------------------------ #
|
||||
|
||||
# Path to the Arduino Makefile
|
||||
include /usr/share/arduino/Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
# !!! Important. You have to use 'make ispload' when using an ISP.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Arduino Make file. Refer to https://github.com/sudar/Arduino-Makefile
|
||||
|
||||
BOARD_TAG = uno
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ TOGGLE_ARCHIVE = build-$(BOARD_TAG)/libtoggle.a
|
|||
CXXFLAGS += -IToggle
|
||||
OTHER_OBJS = Toggle/$(TOGGLE_ARCHIVE)
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
Toggle/$(TOGGLE_ARCHIVE):
|
||||
$(MAKE) -C Toggle $(TOGGLE_ARCHIVE)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
# and archived into the build-$(BOARD_TAG)/libtoggle.a target.
|
||||
|
||||
include ../board.mk
|
||||
include ../../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
build-$(BOARD_TAG)/libtoggle.a: $(LOCAL_OBJS)
|
||||
$(AR) rcs $@ $(LOCAL_OBJS)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
BOARD_TAG = mega_pic32
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../chipKIT.mk
|
||||
include $(ARDMK_DIR)/chipKIT.mk
|
||||
|
||||
|
|
|
@ -11,6 +11,6 @@ F_CPU = 8000000L
|
|||
ISP_PROG = stk500v1
|
||||
AVRDUDE_ISP_BAUDRATE = 19200
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
# !!! Important. You have to use make ispload to upload when using ISP programmer
|
||||
|
|
|
@ -16,7 +16,7 @@ AVRDUDE_CONF=/usr/local/etc/avrdude.conf
|
|||
FORCE_MONITOR_PORT=true
|
||||
MONITOR_PORT=/dev/spidev0.0
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
|
||||
# Additional rules to use a remote Raspberry Pi programmer
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = teensy31
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../Teensy.mk
|
||||
include $(ARDMK_DIR)/Teensy.mk
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS = LiquidCrystal
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -52,5 +52,5 @@ ARDUINO_SKETCHBOOK = $(HOME)/sketchbook
|
|||
ALTERNATE_CORE = sparkfun
|
||||
BOARD_TAG = promicro
|
||||
BOARD_SUB = 8MHzatmega32U4
|
||||
include /usr/share/arduino/Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
BOARD_TAG = uno
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -17,4 +17,4 @@ F_CPU = 16000000L
|
|||
|
||||
ARDUINO_LIBS = SoftwareSerial
|
||||
|
||||
include /usr/share/arduino/Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS = Ethernet SPI
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS = Wire
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
BOARD_TAG = uno
|
||||
ARDUINO_LIBS =
|
||||
|
||||
include ../../Arduino.mk
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
Loading…
Reference in a new issue