Updated docs
This commit is contained in:
parent
866b2e9100
commit
17858f8b6d
1 changed files with 11 additions and 12 deletions
19
README.md
19
README.md
|
@ -15,17 +15,16 @@ On the Mac you might want to set:
|
||||||
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
|
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
|
||||||
ARDMK_DIR = /usr/local
|
ARDMK_DIR = /usr/local
|
||||||
|
|
||||||
On Linux, you might prefer:
|
|
||||||
|
|
||||||
ARDUINO_DIR = /usr/share/arduino
|
|
||||||
ARDMK_DIR = /usr/share/arduino
|
|
||||||
ARDMK_PATH = /usr/bin
|
|
||||||
AVR_TOOLS_DIR = /usr
|
|
||||||
|
|
||||||
- `ARDUINO_DIR` - Path to Arduino installation
|
- `ARDUINO_DIR` - Path to Arduino installation
|
||||||
- `ARDMK_DIR` - Path where the `*.mk` are present. If you installed the package, then it is usually `/usr/share/arduino`
|
- `ARDMK_DIR` - Path where the `*.mk` are present.
|
||||||
- `ARDMK_PATH` - Path where the `ard-reset-arduino` script is present. If you installed the package, then it is usually `/usr/bin`
|
|
||||||
- `AVR_TOOLS_DIR` - Path where the avr tools chain binaries are present. If you are going to use the binaries that came with Arduino installation, then you don't have to set it.
|
On Linux, you shouldn't need to set anything other than your board type and port:
|
||||||
|
|
||||||
|
BOARD_TAG = mega2560
|
||||||
|
MONITOR_PORT = /dev/ttyACM0
|
||||||
|
|
||||||
|
- `BOARD_TAG` - Type of board, for a list see boards.txt or `make show_boards`
|
||||||
|
- `MONITOR_PORT` - The port where your Arduino is plugged in, usually `/dev/ttyACM0` or `/dev/ttyUSB0`
|
||||||
|
|
||||||
The Makefile also delegates resetting the board to a short Perl program.
|
The Makefile also delegates resetting the board to a short Perl program.
|
||||||
You'll need to install `Device::SerialPort` to use it though.
|
You'll need to install `Device::SerialPort` to use it though.
|
||||||
|
|
Loading…
Reference in a new issue