Skip to content

Commit 0ebe066

Browse files
committed
Remove toolsDependencies entries
This change is required due to a bug in the Arduino IDE which causes the tool versions specified by avr_boot to be used by other platforms such as Arduino AVR Boards after Boards Manager installation of avr_boot(see https://github.com/arduino/Arduino/issues/5168). A specific issue caused by this is that Arduino AVR Boards 1.6.12 requires LTO support, which avr-gcc does not have. This will cause Arduino AVR Boards to no longer compile when the previous version of package_zevero_avr_boot_index.json was used to install avr_boot. Removing the toolsDependencies entries causes avr_boot to use whatever tool versions were previously installed. The disadvantages of this solution are: - Breaks compatibility with the Eclipse Arduino plugin(see Sloeber/arduino-eclipse-plugin#516), which requires these entries. - Loss of control over the specific toolchain used.
1 parent 81c4244 commit 0ebe066

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

package_zevero_avr_boot_index.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,7 @@
2626
{"name": "ATmega32U4"},
2727
{"name": "ATmega1284P"}
2828
],
29-
"toolsDependencies": [
30-
{
31-
"packager": "arduino",
32-
"name": "avr-gcc",
33-
"version": "4.8.1-arduino5"
34-
},
35-
{
36-
"packager": "arduino",
37-
"name": "avrdude",
38-
"version": "6.0.1-arduino5"
39-
}
40-
]
29+
"toolsDependencies": []
4130
}
4231
],
4332
"tools": []

0 commit comments

Comments
 (0)