Skip to content

Commit

Permalink
Upgrade Arduino boards packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Jun 24, 2021
1 parent 8c2ec84 commit 791567c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ jobs:
with:
path: |
~/.local/bin
key: ${{ runner.os }}-local-bin-v1
key: ${{ runner.os }}-local-bin-v2

- name: Cache Arduino Cores and Libraries
uses: actions/cache@v2.1.4
with:
path: |
~/.arduino15
~/Arduino/libraries
key: ${{ runner.os }}-arduino-v1-${{ github.sha }}
restore-keys: ${{ runner.os }}-arduino-v1-
key: ${{ runner.os }}-arduino-v2-${{ github.sha }}
restore-keys: ${{ runner.os }}-arduino-v2-

- name: Cache Compiled Arduino Cores and Sketches
uses: actions/cache@v2.1.4
with:
path: |
/tmp/arduino-sketch-*
/tmp/core-*
key: ${{ runner.os }}-arduino-compiled-v1-${{ matrix.board }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-arduino-compiled-v1-${{ matrix.board }}-
key: ${{ runner.os }}-arduino-compiled-v2-${{ matrix.board }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-arduino-compiled-v2-${{ matrix.board }}-

- name: Update $PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
Expand All @@ -55,11 +55,10 @@ jobs:
- name: Install Arduino Boards
run: |
arduino-cli core install arduino:avr arduino:mbed arduino:samd esp32:esp32 esp8266:esp8266 arduino:sam arduino:megaavr
arduino-cli core install arduino:avr arduino:mbed_nano arduino:samd esp32:esp32 esp8266:esp8266 arduino:sam arduino:megaavr
arduino-cli core upgrade
arduino-cli cache clean
patch "$HOME/.arduino15/packages/arduino/hardware/mbed/1.3.2/cores/arduino/Arduino.h" -i "$GITHUB_WORKSPACE/scripts/patches/ARDUINO_LIB_DISCOVERY_PHASE.patch" ||:
patch "$HOME/.arduino15/packages/esp32/hardware/esp32/1.0.5/platform.txt" -i "$GITHUB_WORKSPACE/scripts/patches/ESP32-quote-spaces-path.patch" ||:
- name: Install Arduino Libraries
run: |
Expand All @@ -78,8 +77,8 @@ jobs:
uses: actions/cache@v2.1.4
with:
path: ~/.venv
key: ${{ runner.os }}-python-venv-v1-${{ github.sha }}
restore-keys: ${{ runner.os }}-python-venv-v1-
key: ${{ runner.os }}-python-venv-v2-${{ github.sha }}
restore-keys: ${{ runner.os }}-python-venv-v2-

- name: Install Python Packages
run: |
Expand Down
4 changes: 2 additions & 2 deletions test/examples-board-fqbns.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
esp32: esp32:esp32:esp32thing:FlashFreq=80,PartitionScheme=default,UploadSpeed=921600,DebugLevel=none
esp8266: esp8266:esp8266:d1_mini:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600
esp8266: esp8266:esp8266:d1_mini:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600
teensy 3.x: teensy:avr:teensy31:speed=96,usb=serialmidiaudio,opt=o2std,keys=en-us
teensy 3.6: teensy:avr:teensy36:speed=180,usb=serialmidiaudio,opt=o2std,keys=en-us
teensy 4.1: teensy:avr:teensy41:speed=600,usb=serialmidiaudio,opt=o2std,keys=en-us
Expand All @@ -9,5 +9,5 @@ mega: arduino:avr:mega:cpu=atmega2560
leonardo: arduino:avr:leonardo
due: arduino:sam:arduino_due_x_dbg
nano 33 iot: arduino:samd:nano_33_iot
nano 33 ble: arduino:mbed:nano33ble
nano 33 ble: arduino:mbed_nano:nano33ble
nano every: arduino:megaavr:nona4809:mode=off

0 comments on commit 791567c

Please sign in to comment.