-
-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
I'm trying to create a new project, but I have been unable to get any makes to work
My makefile looks like:
PROJECT_DIR := /Users/ryanbeltran/Documents/Hardware\ Control/hardware\ controller/src
ARDMK_DIR = $(PROJECT_DIR)/../Arduino-Makefile
ARDUINO_DIR = /Applications/Arduino.app/Contents/Java
AVR_TOOLS_DIR = /usr/local
AVRDDUDE = /usr/local/bin/avrdude
BOARD_TAG = mega
BOARD_SUB = atmega2560
### MONITOR_BAUDRATE
### It must be set to Serial baudrate value you are using.
MONITOR_BAUDRATE = 9600
### CFLAGS_STD
CFLAGS_STD = -std=gnu11
CXXFLAGS_STD = -std=gnu++11
CXXFLAGS = -pedantic -Wall -Wextra -fdiagnostics-color
### MONITOR_PORT
### The port your board is connected to. Using an '*' tries all the ports and finds the right one.
MONITOR_PORT = /dev/cu.usbmodem*
### path to Arduino.mk, inside the ARDMK_DIR, don't touch.
include $(ARDMK_DIR)/Arduino.mk
Everytime I build it prints out all the configuration data and then the error message:
make: *** No rule to make target build-mega-atmega2560/src.eep', needed by all'. Stop.
I tried running cat /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/boards.txt
and found the line mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560)
which makes me think I should be using the correct values.
Any help would be greatly appreciated. Let me know if any more information would be of help.
Metadata
Metadata
Assignees
Labels
No labels