From 32d35da2a0162b1b06ea7926e01a496dfacedc98 Mon Sep 17 00:00:00 2001 From: EAGMnor Date: Fri, 11 Apr 2014 15:13:42 +0200 Subject: Tweak AVRdude conf file detection in windows On windows the AVRdude configuration file is now detected properly. The comments and `README` are updated as well. Fix #187 --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 5441f66..5898daa 100644 --- a/README.md +++ b/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. -- cgit v1.2.3