From 2251c7a8eb5b7ce98401b2e07d377a4f0abc54f9 Mon Sep 17 00:00:00 2001 From: Sean Marquez Date: Wed, 20 Mar 2024 09:22:16 -0700 Subject: [PATCH] remove unused Arduino Pico package index --- playbook.yaml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 65032f4..c4b245b 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -452,7 +452,6 @@ vars: arduino_version: "1.8.19" arduino_cli_version: "0.33.0" - arduino_pico_version: "3.3.0" arduino_esp32_version: "2.0.9" tasks: @@ -485,16 +484,8 @@ shell: mv /home/kasm-default-profile/install_files/arduino-cli_{{ arduino_cli_version }}/arduino-cli /usr/local/bin - name: Create arduino workspace directory in /home/kasm-default-profile/.arduino15/ for installing Arduino board libraries shell: mkdir -p /home /home/kasm-default-profile/.arduino15/ - - name: install package_rp2040_index.json for QT Py - get_url: - url: https://github.com/earlephilhower/arduino-pico/releases/download/{{ arduino_pico_version }}/package_rp2040_index.json - dest: /home/kasm-default-profile/.arduino15/ - - name: install Arduino-Pico {{ arduino_pico_version }} using arduino-cli - shell: arduino-cli core install rp2040:rp2040@{{ arduino_pico_version }} --additional-urls https://github.com/earlephilhower/arduino-pico/releases/download/{{ arduino_pico_version }}/package_rp2040_index.json - name: Download Arduino-ESP32 {{ arduino_esp32_version }} package index to /home/kasm-default-profile/.arduino15/ shell: wget https://github.com/espressif/arduino-esp32/releases/download/{{ arduino_esp32_version }}/package_esp32_index.json -O /home/kasm-default-profile/.arduino15/package_esp32_index.json - - name: Add Arduino-Pico {{ arduino_pico_version }} package index to /home/kasm-default-profile/.arduino15/preferences.txt - shell: echo "boardsmanager.additional.urls=https://github.com/earlephilhower/arduino-pico/releases/download/{{ arduino_pico_version }}/package_rp2040_index.json" >> /home/kasm-default-profile/.arduino15/preferences.txt - name: Add Arduino-ESP32 {{ arduino_esp32_version }} package index to /home/kasm-default-profile/.arduino15/preferences.txt shell: echo "boardsmanager.additional.urls=https://github.com/espressif/arduino-esp32/releases/download/{{ arduino_esp32_version }}/package_esp32_index.json" >> /home/kasm-default-profile/.arduino15/preferences.txt - name: install Arduino-ESP32 {{ arduino_esp32_version }} using arduino-cli @@ -505,9 +496,6 @@ - name: Get Arduino CLI version shell: arduino-cli version | sed 's/arduino-cli/\n/g' | sed 's/Commit:/\n/g' | grep Version | sed 's/[[:alpha:]|[:space:]]//g' | sed 's/://g' register: installed_arduino_cli_version - - name: Get Arduino-Pico version - shell: arduino-cli core list | grep rp2040 | awk '{ print $2'} - register: installed_arduino_pico_version - name: Get Arduino-ESP32 version shell: arduino-cli core list | grep esp32 | awk '{ print $2'} register: installed_arduino_esp32_version @@ -517,9 +505,6 @@ - name: Display Arduino CLI version debug: msg: "Arduino CLI version = {{ installed_arduino_cli_version.stdout }}" - - name: Display Arduino-Pico version - debug: - msg: "Arduino-Pico version = {{ installed_arduino_pico_version.stdout }}" - name: Display Arduino-ESP32 version debug: msg: "Arduino-ESP32 version = {{ installed_arduino_esp32_version.stdout }}" @@ -531,10 +516,6 @@ fail: msg: "Arduino CLI Version Error: Expected {{ arduino_cli_version }} | Found {{ installed_arduino_cli_version.stdout }}" when: installed_arduino_cli_version.stdout != arduino_cli_version - - name: Test Arduino-Pico version - fail: - msg: "Arduino-Pico Version Error: Expected {{ arduino_pico_version }} | Found {{ installed_arduino_pico_version.stdout }}" - when: installed_arduino_pico_version.stdout != arduino_pico_version - name: Test Arduino-ESP32 version fail: msg: "Arduino-ESP32 Version Error: Expected {{ arduino_esp32_version }} | Found {{ installed_arduino_esp32_version.stdout }}"