Information about windows configuration added
The readmen file has now more information about configuring Windows for using this makefile
This commit is contained in:
parent
4b5ce6648c
commit
13e3a33980
1 changed files with 23 additions and 1 deletions
24
README.md
24
README.md
|
@ -55,6 +55,8 @@ On Mac using MacPorts:
|
|||
|
||||
On Windows:
|
||||
|
||||
You need to install Cygwin and its packages for Make, Perl and the next Serial library.
|
||||
|
||||
pySerial can be downloaded from PyPi
|
||||
|
||||
On other systems:
|
||||
|
@ -93,12 +95,32 @@ On Windows (using cygwin), you might want to set:
|
|||
MONITOR_PORT = com3
|
||||
BOARD_TAG = mega2560
|
||||
|
||||
It is recommended in Windows that you create a symbolic link directory for avoiding problem with folder naming conventions on Windows. Specially if your your Arduino folder is in:
|
||||
|
||||
c:\Program Files (x86)\Arduino
|
||||
|
||||
You will get problem for the special characters on the folder name. More details about this can be found on https://github.com/sudar/Arduino-Makefile/issues/94
|
||||
|
||||
For creating a symbolic link you have to use the command “mklink” on Windows, e.g.
|
||||
|
||||
mklink /d c:\Arduino c:\Program Files (x86)\Arduino
|
||||
|
||||
At the end the variables end up being.
|
||||
|
||||
ARDUINO_DIR=../../../../../Arduino
|
||||
|
||||
Instead of
|
||||
|
||||
ARDUINO_DIR=../../../../../Program\ Files\ \(x86\)/Arduino
|
||||
|
||||
|
||||
|
||||
- `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` in Linux or Mac OS X and `com3`, `com4`, etc. in Windows.
|
||||
- `ARDUINO_DIR` - Path to Arduino installation. In Cygwin in Windows this path must be
|
||||
relative, not absolute (e.g. "../../arduino" and not "/c/cygwin/Arduino").
|
||||
- `ARDMK_DIR` - Path where the `*.mk` are present. If you installed the package, then it is usually `/usr/share/arduino`
|
||||
- `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.
|
||||
- `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. Otherwise set it realtive and not absolute.
|
||||
|
||||
The list of all variables that can be overridden is available at [arduino-mk-vars.md](arduino-mk-vars.md) file.
|
||||
|
||||
|
|
Loading…
Reference in a new issue