diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2014-04-04 12:04:57 +0200 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2014-04-10 12:19:43 +0200 |
commit | 52c713a2aec46e7389b966ff6407bb507a2033d9 (patch) | |
tree | e01d2fa18aff34c0de7198e7d89d56e0dc3cb029 /libraries/Wire/examples/master_reader | |
parent | 2b9f022eaad0d107b1516c22ac02bdac4977223b (diff) |
Explicitly define compiler.path in avr/platform.txt
Previously, this relied on an (ugly, avr-specific) magic default for the
compiler.path variable, set by the IDE. This allowed the IDE to fall
back to a system-wide toolchain when no bundled toolchain was found (by
making compiler.path empty).
However,
- this only worked for avr, not sam,
- this worked only for gcc, a system-wide avrdude would break on the
avrdude.conf path in platform.txt, and
This would mean that automatic system-wide fallback didn't work in all
situations, so you'd still have to modify platform.txt (or create
platform.local.txt). Since doing that explictly is the most reliable
way, this commit removes the partial-working ability to do this
automatically.
Note that the code to automatically set compiler.path is still kept
around, in case third-party hardware still relies on this. At some
point, this code should be removed, but for now it just shows a warning
message.
Diffstat (limited to 'libraries/Wire/examples/master_reader')
0 files changed, 0 insertions, 0 deletions