You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
817 B

# 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
# You may need to change this, depending on your local setup.
ARDUINO_DIR ?= $(HOME)/arduino/arduino-1.8.9
USER_LIB_PATH := $(PWD)
# for flashing
AVRDUDE_ARD_BAUDRATE = 57600
# We don't need exact math. Let gcc be a bit more agressive.
CFLAGS += -ffast-math
CXXFLAGS += -ffast-math
include $(ARDMK_DIR)/Arduino.mk