Skip to content

Commit

Permalink
use ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS env for setting board URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Jan 5, 2024
1 parent 437c025 commit 241c73a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion travis/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ function get_sketches_json_matrix()
}

function get_core_cli() {
arduino-cli core update-index --additional-urls https://arduino.esp8266.com/stable/package_esp8266com_index.json,https://espressif.github.io/arduino-esp32/package_esp32_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
export ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS="https://arduino.esp8266.com/stable/package_esp8266com_index.json https://espressif.github.io/arduino-esp32/package_esp32_index.json https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json"
arduino-cli core update-index
arduino-cli core install esp8266:esp8266
arduino-cli core install esp32:esp32
arduino-cli core install arduino:mbed_rp2040
Expand Down

0 comments on commit 241c73a

Please sign in to comment.