File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -433,16 +433,20 @@ function install_platformio()
433
433
python3 get.py -q
434
434
popd
435
435
436
+ install_libraries " $ESP8266_ARDUINO_BUILD_DIR " " $ESP8266_ARDUINO_LIBRARIES "
437
+
436
438
# we should reference our up-to-date build tools
437
439
# ref. https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html
438
440
pio pkg install --global --skip-dependencies --platform " https://github.com/platformio/platform-espressif8266.git"
439
441
440
442
local framework_symlink=" framework-arduinoespressif8266 @ symlink://${ESP8266_ARDUINO_BUILD_DIR} "
441
443
local toolchain_symlink=" toolchain-xtensa @ symlink://${ESP8266_ARDUINO_BUILD_DIR} /tools/xtensa-lx106-elf/"
442
444
443
- # pre-generate config; pio-ci with multiple '-O' replace each other instead of appending to the same named list
444
- # (and, it is much nicer to write this instead of a multi-line cmdline with several large strings)
445
+ # pre-generate config; pio-ci with multiple '-O' options replace each other instead of appending to the same named list
445
446
cat << EOF > $cache_dir /platformio.ini
447
+ [platformio]
448
+ lib_dir =
449
+ ${ESP8266_ARDUINO_LIBRARIES}
446
450
[env:$board ]
447
451
platform = espressif8266
448
452
board = $board
@@ -452,10 +456,6 @@ platform_packages =
452
456
${toolchain_symlink}
453
457
EOF
454
458
455
- # Install dependencies:
456
- # - esp8266/examples/ConfigFile
457
- pio pkg install --global --library " ArduinoJson@^6.11.0"
458
-
459
459
echo $ci_end_group
460
460
}
461
461
You can’t perform that action at this time.
0 commit comments