makefile 似乎不适用于建议的路径。以下是在 Mac 上使用 Arduino 1.0.5 的示例:
# 1. Modify the line containg "ARDUINO_INSTALL_DIR" to point to the directory that
# contains the Arduino installation (for example, under Mac OS X, this
# might be /Applications/Arduino.app/Contents/Resources/Java)
...
# Arduino source install directory, and version number
ARDUINO_INSTALL_DIR ?= /Applications/Arduino.app/Contents/Resources/Java
ARDUINO_VERSION ?= 105
# You can optionally set a path to the avr-gcc tools. Requires a trailing slash. (ex: /usr/local/avr-gcc/bin)
AVR_TOOLS_PATH ?= /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/
makefile 似乎不适用于建议的路径。以下是在 Mac 上使用 Arduino 1.0.5 的示例: