Browse Source

use submodule for arduino makefile

master
Marc Poulhiès 3 years ago
parent
commit
817a9d6c88
  1. 3
      .gitmodules
  2. 1
      arduino/Arduino-Makefile
  3. 9
      arduino/Makefile

3
.gitmodules

@ -13,3 +13,6 @@
[submodule "arduino/Switch"]
path = arduino/Switch
url = https://github.com/blackketter/Switch.git
[submodule "arduino/Arduino-Makefile"]
path = arduino/Arduino-Makefile
url = https://github.com/sudar/Arduino-Makefile.git

1
arduino/Arduino-Makefile

@ -0,0 +1 @@
Subproject commit 84803734779ddb4af0b8afb1f7de4c9d15771859

9
arduino/Makefile

@ -1,7 +1,12 @@
BOARD_TAG = nano328
BOARD_TAG = nano
BOARD_SUB = atmega328
#ARDUINO_LIBS = LiquidCrystal
ARDUINO_LIBS = StepperDriver Switch
ARDMK_DIR:=$(HOME)/git/Arduino-Makefile
ARDMK_DIR:=$(PWD)/Arduino-Makefile
ARDUINO_DIR := $(HOME)/arduino/arduino-1.8.2
USER_LIB_PATH := $(PWD)
include $(ARDMK_DIR)/Arduino.mk
Loading…
Cancel
Save