mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Update makefile to work with newest version of Arduino
This commit is contained in:
parent
2eea8d4112
commit
d79de9d704
1 changed files with 10 additions and 4 deletions
|
@ -2,13 +2,16 @@
|
||||||
# These are set for a mega 1280 + quadram plus my serial patch.
|
# These are set for a mega 1280 + quadram plus my serial patch.
|
||||||
# If you lack quadram, or want to disable LFN, just change _FS_TINY=1 _USE_LFN=0
|
# If you lack quadram, or want to disable LFN, just change _FS_TINY=1 _USE_LFN=0
|
||||||
#
|
#
|
||||||
# If your board is a mega 2560 uncomment the following two lines
|
# If your board is a mega 2560 comment out the following two lines
|
||||||
# BOARD = mega2560
|
|
||||||
# PROGRAMMER = wiring
|
|
||||||
# ...and then comment out the following two lines
|
|
||||||
BOARD = mega
|
BOARD = mega
|
||||||
|
|
||||||
|
BOARD_SUB = mega.menu.cpu.atmega1280
|
||||||
PROGRAMMER = arduino
|
PROGRAMMER = arduino
|
||||||
|
|
||||||
|
# ...and then uncomment out the following two lines
|
||||||
|
#BOARD_SUB = mega.menu.cpu.atmega2560
|
||||||
|
#PROGRAMMER = wiring
|
||||||
|
|
||||||
#BOARD = teensypp2
|
#BOARD = teensypp2
|
||||||
#BOARD = teensy3
|
#BOARD = teensy3
|
||||||
#BOARD = teensy31
|
#BOARD = teensy31
|
||||||
|
@ -53,6 +56,9 @@ LIB_DIRS += ../testusbhostFAT/generic_storage
|
||||||
LIB_DIRS += ../testusbhostFAT/RTClib
|
LIB_DIRS += ../testusbhostFAT/RTClib
|
||||||
LIB_DIRS += $(ARD_HOME)/libraries/Wire
|
LIB_DIRS += $(ARD_HOME)/libraries/Wire
|
||||||
LIB_DIRS += $(ARD_HOME)/libraries/Wire/utility
|
LIB_DIRS += $(ARD_HOME)/libraries/Wire/utility
|
||||||
|
LIB_DIRS += $(ARD_HOME)/hardware/arduino/$(BUILD_ARCH)/libraries/Wire
|
||||||
|
LIB_DIRS += $(ARD_HOME)/hardware/arduino/$(BUILD_ARCH)/libraries/Wire/utility
|
||||||
|
LIB_DIRS += $(ARD_HOME)/hardware/arduino/$(BUILD_ARCH)/libraries/SPI
|
||||||
|
|
||||||
# And finally, the part that brings everything together for you.
|
# And finally, the part that brings everything together for you.
|
||||||
include Arduino_Makefile_master/_Makefile.master
|
include Arduino_Makefile_master/_Makefile.master
|
||||||
|
|
Loading…
Reference in a new issue