Browse Source
Add comments in makefile. I had to work a bit in order to remember how things work; help future me by not having to redo this work again. Clean a bit the .ino header. This was all based on jjrobots work, but it has been all changed since.master
2 changed files with 24 additions and 1 deletions
@ -1,12 +1,24 @@
|
||||
# Board setup
|
||||
BOARD_TAG = nano
|
||||
BOARD_SUB = atmega328
|
||||
|
||||
# Use 'do_upload' target to upload software to arduino's flash.
|
||||
# You need to set this variable correctly.
|
||||
MONITOR_PORT ?= /dev/ttyUSB0
|
||||
|
||||
# LCD pins/pcb socket have been prepared, but software is lagging behind.
|
||||
# Disabling until the situation changes.
|
||||
#ARDUINO_LIBS = LiquidCrystal
|
||||
|
||||
# Libs for handling the Nema motor and the trigger swtiches.
|
||||
ARDUINO_LIBS = StepperDriver Switch
|
||||
|
||||
# Points to submodule
|
||||
ARDMK_DIR:=$(PWD)/Arduino-Makefile
|
||||
|
||||
ARDUINO_DIR := $(HOME)/arduino/arduino-1.8.2
|
||||
# You may need to change this, depending on your local setup.
|
||||
ARDUINO_DIR := $(HOME)/arduino/arduino-1.8.5
|
||||
|
||||
USER_LIB_PATH := $(PWD)
|
||||
|
||||
include $(ARDMK_DIR)/Arduino.mk |
||||
|
Loading…
Reference in new issue