@@ -26,8 +26,8 @@ def test_compile_without_fqbn(run_command):
26
26
result = run_command ("core update-index" )
27
27
assert result .ok
28
28
29
- # Download latest AVR
30
- result = run_command ("core install arduino:avr" )
29
+ # Install Arduino AVR Boards
30
+ result = run_command ("core install arduino:avr@1.8.3 " )
31
31
assert result .ok
32
32
33
33
# Build sketch without FQBN
@@ -92,8 +92,8 @@ def test_output_flag_default_path(run_command, data_dir, working_dir):
92
92
result = run_command ("core update-index" )
93
93
assert result .ok
94
94
95
- # Download latest AVR
96
- result = run_command ("core install arduino:avr" )
95
+ # Install Arduino AVR Boards
96
+ result = run_command ("core install arduino:avr@1.8.3 " )
97
97
assert result .ok
98
98
99
99
# Create a test sketch
@@ -114,8 +114,8 @@ def test_compile_with_sketch_with_symlink_selfloop(run_command, data_dir):
114
114
result = run_command ("core update-index" )
115
115
assert result .ok
116
116
117
- # Download latest AVR
118
- result = run_command ("core install arduino:avr" )
117
+ # Install Arduino AVR Boards
118
+ result = run_command ("core install arduino:avr@1.8.3 " )
119
119
assert result .ok
120
120
121
121
sketch_name = "CompileIntegrationTestSymlinkSelfLoop"
@@ -168,8 +168,8 @@ def test_compile_and_upload_combo(run_command, data_dir, detected_boards):
168
168
assert result .ok
169
169
170
170
# Install required core(s)
171
- result = run_command ("core install arduino:avr" )
172
- result = run_command ("core install arduino:samd" )
171
+ result = run_command ("core install arduino:avr@1.8.3 " )
172
+ result = run_command ("core install arduino:samd@1.8.7 " )
173
173
assert result .ok
174
174
175
175
# Create a test sketch
@@ -228,8 +228,8 @@ def test_compile_blacklisted_sketchname(run_command, data_dir):
228
228
result = run_command ("core update-index" )
229
229
assert result .ok
230
230
231
- # Download latest AVR
232
- result = run_command ("core install arduino:avr" )
231
+ # Install Arduino AVR Boards
232
+ result = run_command ("core install arduino:avr@1.8.3 " )
233
233
assert result .ok
234
234
235
235
sketch_name = "RCS"
@@ -251,11 +251,13 @@ def test_compile_without_precompiled_libraries(run_command, data_dir):
251
251
url = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"
252
252
result = run_command ("core update-index --additional-urls={}" .format (url ))
253
253
assert result .ok
254
- result = run_command ("core install arduino:mbed --additional-urls={}" .format (url ))
254
+ # arduino:mbed 1.1.5 is incompatible with the Arduino_TensorFlowLite library
255
+ # see: https://github.com/arduino/ArduinoCore-nRF528x-mbedos/issues/93
256
+ result = run_command (
"core install arduino:[email protected] --additional-urls={}" .
format (
url ))
255
257
assert result .ok
256
- result = run_command ("core install arduino:samd --additional-urls={}" .format (url ))
258
+ result = run_command ("core install arduino:samd@1.8.7 --additional-urls={}" .format (url ))
257
259
assert result .ok
258
- result = run_command ("core install adafruit:samd --additional-urls={}" .format (url ))
260
+ result = run_command ("core install adafruit:samd@1.6.0 --additional-urls={}" .format (url ))
259
261
assert result .ok
260
262
261
263
# Install pre-release version of Arduino_TensorFlowLite (will be officially released
0 commit comments