Browse Source

configurable path to toolchain

teensy4-core
Matthias Lohr 11 years ago
parent
commit
3734b2ee7b
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      teensy3/Makefile

+ 7
- 4
teensy3/Makefile View File

# The name of your project (used to name the compiled .hex file) # The name of your project (used to name the compiled .hex file)
TARGET = main TARGET = main


# Path to your arduino installation
ARDUINOPATH ?= ../../../..

# configurable options # configurable options
OPTIONS = -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH OPTIONS = -DF_CPU=48000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH


#************************************************************************ #************************************************************************


# path location for Teensy Loader, teensy_post_compile and teensy_reboot # path location for Teensy Loader, teensy_post_compile and teensy_reboot
TOOLSPATH = ../../../tools # on Linux
#TOOLSPATH = ../../../tools/avr/bin # on Mac or Windows
TOOLSPATH = $(ARDUINOPATH)/hardware/tools # on Linux
#TOOLSPATH = $(ARDUINOPATH)/hardware/tools/tools/avr/bin # on Mac or Windows


# path location for Arduino libraries (currently not used) # path location for Arduino libraries (currently not used)
LIBRARYPATH = ../../../../libraries
LIBRARYPATH = $(ARDUINOPATH)/libraries


# path location for the arm-none-eabi compiler # path location for the arm-none-eabi compiler
COMPILERPATH = ../../../tools/arm-none-eabi/bin
COMPILERPATH = $(ARDUINOPATH)/hardware/tools/arm-none-eabi/bin


#************************************************************************ #************************************************************************
# Settings below this point usually do not need to be edited # Settings below this point usually do not need to be edited

Loading…
Cancel
Save