Go to file
Matthijs Kooijman d2505a08f6 Process platform-specific suffixes immediately
In preferences files, platform-specific versions can be indicated by a
.linux, .windows or .macos suffix on the key name. Previously, these
keys were loaded as normal and then afterwards, all keys were scanned
after loading them and any platform-specific versions replaced the
regular ones.

However, this means that these platform-specific versions get an
unexpected form of priority. Normally, when a single key is set twice,
the latter overrides the first. However, the platform-specific values
could override the regular versions, even when the regular version
occurs later in the file.

This problem was particularly confusing when using the new
platform.local.txt: a regular preference in platform.local.txt did not
override a platform-specific preference in platform.txt.

This commit changes behaviour to process these suffixes directly as they
are read from the preference files. If a suffix for the current platform
is found, the line is processed as if the suffix was not present. If a
suffix for another platform is found, the line is ignored altogether.

This can slightly change the way preferences files are parsed, but as
long as platform-specific preferences are defined after the
corresponding regular preferences, the behaviour should be the same.
2014-04-14 15:35:33 +02:00
.settings Update to eclipse project files 2011-12-31 15:30:50 +01:00
app Process platform-specific suffixes immediately 2014-04-14 15:35:33 +02:00
build Merge branch 'master' into ide-1.5.x 2014-04-07 19:14:13 +02:00
core working on #223: Auto-detection of serial ports. Linux version ready 2013-05-06 12:31:01 +02:00
hardware Merge branch 'ide-1.5.x_serial_config' of github.com:bluesign2k/Arduino into ide-1.5.x 2014-04-10 21:55:29 +02:00
libraries Merge branch 'master' into ide-1.5.x 2014-04-07 18:53:15 +02:00
.classpath Update .classpath 2014-01-30 11:03:22 +01:00
.gitignore Merge remote-tracking branch 'arduino/master' into ide-1.5.x 2014-03-16 12:11:19 +01:00
.project Fix eclipse project files 2012-01-11 14:18:48 +01:00
README.md Update README.md 2014-03-24 19:56:25 +01:00
format.every.sketch.sh Added script to run astyle every once in a while against all .ino files 2013-12-11 21:55:00 +01:00
license.txt adding LGPL (a bit late, whoops). 2007-10-12 01:58:48 +00:00
todo.txt Updates to build.xml. (version auto defetect for "dist" target) 2013-01-24 14:46:57 +01:00

README.md

Arduino

  • Arduino is an open-source physical computing platform based on a simple i/o board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software on your computer (e.g. Flash, Processing, MaxMSP). The boards can be assembled by hand or purchased preassembled; the open-source IDE can be downloaded for free.

  • For more information, see the website at: http://www.arduino.cc/ or the forums at: http://arduino.cc/forum/

  • To report a bug in the software or to request a simple enhancement go to: http://github.com/arduino/Arduino/issues

  • More complex requests and technical discussion should go on the Arduino Developers mailing list: https://groups.google.com/a/arduino.cc/forum/#!forum/developers

  • If you're interested in modifying or extending the Arduino software, we strongly suggest discussing your ideas on the Developers mailing list before starting to work on them. That way you can coordinate with the Arduino Team and others, giving your work a higher chance of being integrated into the official release https://groups.google.com/a/arduino.cc/forum/#!forum/developers

Installation

Detailed instructions are in reference/Guide_Windows.html and reference/Guide_MacOSX.html. For Linux, see the Arduino playground: http://www.arduino.cc/playground/Learning/Linux

Credits

Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, Daniela Antonietti, and David A. Mellis.

Arduino uses the GNU avr-gcc toolchain, avrdude, avr-libc, and code from Processing and Wiring.

Icon and about image designed by ToDo