You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use version of Arduino mbed-Enabled Boards from tip of default branch of ArduinoCore-mbed repository
This is necessary because compiling for the Portenta H7 M4 core board fails when using the current release version of the platform (1.2.2).
The issue has been fixed, so this commit can be reverted after the next release of the Arduino mbed-Enabled Boards platform.
# Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
105
108
- name: arduino-beta:mbed
109
+
# Overwrite the Arduino mbed-Enabled Boards release version with version from the tip of the master branch (located in local path because of the need to first install ArduinoCore-API)
110
+
- source-path: extras/ArduinoCore-mbed
111
+
name: arduino-beta:mbed
106
112
libraries: |
107
113
- name: ArduinoECCX08
108
114
sketch-paths: '"examples/utility/Provisioning"'
@@ -120,6 +126,37 @@ jobs:
120
126
- name: Checkout
121
127
uses: actions/checkout@v2
122
128
129
+
# it's necessary to checkout the platform before installing it so that the ArduinoCore-API dependency can be added
130
+
- name: Checkout ArduinoCore-mbed
131
+
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
132
+
if: matrix.board.type == 'mbed'
133
+
uses: actions/checkout@v2
134
+
with:
135
+
repository: arduino/ArduinoCore-mbed
136
+
# the arduino/actions/libraries/compile-examples action will install the platform from this path
137
+
path: ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}
138
+
139
+
- name: Remove ArduinoCore-API symlink from Arduino mbed-Enabled Boards platform
140
+
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
0 commit comments