Cristian Maglie
d8470e59f4
Mark built-in tools as readonly and do not remove them when uninstalling
...
This covers a very convoluted use-case that may be reproduce this way:
1. Using an previous version of the IDE, a new AVR core is installed
using the board manager.
2. The IDE is then updated so the core installed in 1. is now also the
bundled one
3. The AVR core installed 1. is now removed using the board manager
4. The board manager will uninstall the (presumably) no longer used tools,
from the built-in folder leaving, in fact, the IDE without the
bundled tools that are supposed to be read-only.
This commit fix this bug by actually making the built-in tool read-only
2016-08-11 14:21:54 +02:00
Cristian Maglie
b1f9164c4c
Slightly refactored ContributionsIndexer.syncBuiltInHardware()
...
This is just a small rewrite of the function in a more clear way,
no change in behavior.
2016-08-11 13:33:08 +02:00
Cristian Maglie
e80c085996
Use a specific hardware/package_index_bundled.json. AVR core version to 1.6.13
...
Previously, during the build, the full package_index.json was downloaded
and distributed with the Arduino IDE.
This lead to a situation where it was difficult to test new AVR cores
before publishing them to the public package_index.json.
Now the bundled AVR core is specificed in the file:
`hardware/package_index_bundled.json`
this index is loaded from the IDE at startup and the package_index.json
is overlayed on it.
This should also solve part of #5143 (Repeatable builds and snapshots of
package/library indexes)
2016-08-11 11:02:03 +02:00
Cristian Maglie
7008f6c57c
ContributionsIndexer now has bundled hardware path as a field
2016-08-11 10:57:05 +02:00
Cristian Maglie
9669d67e16
Revert to avrdude 6.0.1
...
This reverts commits:
385edd26fc
(Removed "macosx-fix-bundled-toolchain-missing-symlinks" build task)
f5fd6423c3
(Updated avrdude to 6.3-arduino2)
5a01929b8f
(avrdude 6.3: fixed IDE build for macosx)
And part of this commit:
05b647721c
(Update avr-gcc to 4.9.2 and avrdude to 6.3)
2016-08-11 10:57:05 +02:00
Cristian Maglie
629b662de3
Revert "Bump avr core version to 1.6.13"
...
This must be made together with the release of AVR core 1.6.13.
This reverts commit d20e608623
.
2016-08-09 14:58:47 +02:00
Cristian Maglie
048a8a61d6
VersionHelper now correctly strip snapshot info
2016-08-05 18:09:42 +02:00
Cristian Maglie
e0b2cd0ffe
Handle invalid versions without NullPointerExceptions
2016-08-05 18:09:42 +02:00
Martino Facchin
d20e608623
Bump avr core version to 1.6.13
2016-08-05 16:59:51 +02:00
Cristian Maglie
15e08ee331
Update revision log
2016-08-05 14:01:21 +02:00
Cristian Maglie
701f4a23df
Update revision log and bumped IDE version to 1.6.11
2016-08-05 10:58:08 +02:00
Cristian Maglie
f19bf5cf4c
Use plain exec methods on arduino-builder invocation
...
ApacheCommons do some command-line tweaking that doesnt fit well
with argument passing to arduino-builder, in particular for -prefs
arguments containing spaces.
2016-08-05 10:19:07 +02:00
Cristian Maglie
b4ada94e44
Do not bail out if a required tool is not found
...
Previously a NullPointer exception was thrown.
Now the build go on and fails when the recipe cannot be replaced
the correct tool path, that is a much more informative error.
2016-08-03 18:51:08 +02:00
Cristian Maglie
910c602546
Merge branch 'fix-tools'
2016-08-03 16:27:09 +02:00
jenkins
9e6c0a66bd
update arduino-builder to 1.3.20
2016-08-03 16:23:14 +02:00
Cristian Maglie
723393227c
Require tools from referenced core platform if used
2016-08-02 15:16:00 +02:00
Cristian Maglie
4f1b584e71
Slightly refactored tool resolution
...
This helps the understanding of next commits
2016-08-02 15:15:59 +02:00
Cristian Maglie
3b57462281
Use latest tools version for generic tool.paths properties
2016-08-02 15:15:59 +02:00
Martino Facchin
6f24fa6cec
Pass runtime tools to arduino-builder
2016-08-02 15:15:59 +02:00
Cristian Maglie
fa0678f5b7
added 'runtime.tools.packager-name-version.path' property in the global properties map
2016-08-02 12:13:31 +02:00
Cristian Maglie
2c6f6e76c4
Boards tools are resolved using informations from package_index.json
2016-08-02 12:12:00 +02:00
PaulStoffregen
9b324bc9cc
Only sort ideLibs if it's not empty
2016-08-02 02:43:04 -07:00
Cristian Maglie
8efed7f2d2
Add reference to packager in tools
2016-08-02 10:45:48 +02:00
PaulStoffregen
7235f9dc15
Improve Examples menu
2016-07-28 16:58:28 -07:00
Cristian Maglie
3db7ec2de0
Releasing IDE 1.6.10
2016-07-26 15:13:41 +02:00
Martino Facchin
961208b2c6
update liblistserials to 1.1.4
2016-07-26 14:13:38 +02:00
Martino Facchin
e8a74beae7
Merge pull request #5161 from facchinm/toolchain_4.9.2-atmel3.5.3-arduino2
...
Update avr toolchain to 4.9.2-atmel3.5.3-arduino2
2016-07-26 11:30:38 +02:00
Martino Facchin
2415498094
update avr toolchain to 4.9.2-atmel3.5.3-arduino2
2016-07-26 10:10:28 +02:00
Cristian Maglie
44b748af7b
Updated translations strings
2016-07-25 16:32:02 +02:00
Cristian Maglie
0ebd416912
Fixed wrong translation
2016-07-25 15:36:05 +02:00
Martino Facchin
1ea5de0589
Merge branch 'master' of github.com:arduino/Arduino
2016-07-25 14:57:39 +02:00
Martino Facchin
4b4f185239
Move lto flags before -Wl to fix Mega2560 "relax" substitution
2016-07-25 14:56:35 +02:00
Cristian Maglie
8320479bb0
Updated translations
2016-07-25 13:38:30 +02:00
Martino Facchin
0bdcafd00d
publish sam core 1.6.9
2016-07-25 13:27:26 +02:00
Martino Facchin
19c4d6316b
publish avr core 1.6.12
2016-07-25 13:27:07 +02:00
Cristian Maglie
43368941d9
Merge branch 'master' of github.com:Arduino/arduino
2016-07-25 13:24:25 +02:00
Martino Facchin
79bac98926
update bundled firmata to 2.5.3
2016-07-25 13:15:51 +02:00
Cristian Maglie
cc4c10c662
Update avr-gcc to 4.9.2-atmel-3.5.3-arduino
...
The avr toolchain has been updated to the Atmel bundle version 3.5.3
2016-07-25 12:50:12 +02:00
Cristian Maglie
f13af22abe
Update avr-gcc to 4.9.2-arduino4
2016-07-25 12:50:11 +02:00
Cristian Maglie
4cf3278ee0
Enable LTO
2016-07-25 12:49:07 +02:00
Cristian Maglie
385edd26fc
Removed "macosx-fix-bundled-toolchain-missing-symlinks" build task
...
This is no more needed since avrdude is compiled with libusb*
statically linked
2016-07-25 12:49:07 +02:00
Cristian Maglie
10182f2f02
Update avr-gcc to 4.9.2-arduino2
2016-07-25 12:49:07 +02:00
Cristian Maglie
ba0c41b93d
Added -fpermissive flag.
...
This avoid build errors on old libraries. It may possibly be removed in
the future after a period of transition.
2016-07-25 12:49:07 +02:00
Cristian Maglie
e3079871d7
Gatekeeper workaround is no more needed with avrdude linked statically
...
See:
2db1e51b87
960dfb99e4
2016-07-25 12:49:07 +02:00
Cristian Maglie
f5fd6423c3
Updated avrdude to 6.3-arduino2
2016-07-25 12:49:02 +02:00
Cristian Maglie
5a01929b8f
avrdude 6.3: fixed IDE build for macosx
2016-07-25 12:35:26 +02:00
Cristian Maglie
dda93de5f7
update revision log
2016-07-25 12:35:24 +02:00
Cristian Maglie
05b647721c
Update avr-gcc to 4.9.2 and avrdude to 6.3
2016-07-25 12:34:57 +02:00
Cristian Maglie
b44c3258ac
Added WiFi101-Updater tool
2016-07-22 14:55:26 +02:00
Cristian Maglie
3276a35ef6
Update revision log
2016-07-22 12:49:31 +02:00