Skip to content

Commit b92e6b6

Browse files
committed
Remove compilations of sketches using pulseIn() for Portenta from CI workflow
The pulseIn() function has not yet been implemented for the Portenta H7 boards in the core library of their "Arduino Mbed OS Boards (nRF52840 / STM32H747)" platform. Once the pulseIn() function has been implemented for Portenta H7 and a release of the platform made containing that implementation, this commit should be reverted.
1 parent 115dced commit b92e6b6

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/compile-examples.yml

+21-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ jobs:
6565
"examples/04.Communication/SerialEvent"
6666
"examples/04.Communication/VirtualColorMixer"
6767
"examples/05.Control"
68-
"examples/06.Sensors"
68+
"examples/06.Sensors/ADXL3xx"
69+
"examples/06.Sensors/Knock"
6970
"examples/07.Display"
7071
"examples/08.Strings"
7172
"examples/11.ArduinoISP"
@@ -81,45 +82,55 @@ jobs:
8182
serial1: false
8283
starter-kit: true
8384
tone: true
85+
pulsein: true
8486
# Adding this in addition to the Uno because it has 1.5 kB less available flash
8587
- fqbn: arduino:avr:nano
8688
usb: false
8789
serial1: false
8890
starter-kit: false
8991
tone: true
92+
pulsein: true
9093
- fqbn: arduino:avr:leonardo
9194
usb: true
9295
serial1: true
9396
starter-kit: false
9497
tone: true
98+
pulsein: true
9599
- fqbn: arduino:megaavr:uno2018:mode=off
96100
usb: false
97101
serial1: true
98102
starter-kit: false
99103
tone: true
104+
pulsein: true
100105
- fqbn: arduino:samd:mkrzero
101106
usb: true
102107
serial1: true
103108
starter-kit: false
104109
tone: true
110+
pulsein: true
105111
- fqbn: arduino:mbed:nano33ble
106112
usb: false
107113
serial1: true
108114
starter-kit: false
109115
tone: true
116+
pulsein: true
110117
# Change this to arduino:mbed:envie_m7 once there is a production release of the Arduino Mbed OS Boards platform
111118
- fqbn: arduino-beta:mbed:envie_m7
112119
usb: false
113120
serial1: true
114121
starter-kit: false
115122
tone: true
123+
# Bug report: https://github.com/arduino/ArduinoCore-mbed/issues/48
124+
# Change the value to true once it is fixed.
125+
pulsein: false
116126
- fqbn: arduino:sam:arduino_due_x
117127
usb: true
118128
serial1: true
119129
starter-kit: false
120130
# Bug report: https://github.com/arduino/ArduinoCore-sam/issues/24
121131
# Change the value to true once it is fixed.
122132
tone: false
133+
pulsein: true
123134

124135
# Make board type-specific customizations to the matrix jobs
125136
include:
@@ -163,6 +174,14 @@ jobs:
163174
- board:
164175
tone: false
165176
tone-sketch-paths: ""
177+
- board:
178+
pulsein: true
179+
pulsein-sketch-paths: >-
180+
"examples/06.Sensors/Memsic2125"
181+
"examples/06.Sensors/Ping"
182+
- board:
183+
pulsein: false
184+
pulsein-sketch-paths: ""
166185

167186
steps:
168187
- name: Checkout
@@ -181,5 +200,6 @@ jobs:
181200
${{ matrix.serial1-sketch-paths }}
182201
${{ matrix.starter-kit-sketch-paths }}
183202
${{ matrix.tone-sketch-paths }}
203+
${{ matrix.pulsein-sketch-paths }}
184204
# This input can be removed once the repository is made public
185205
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)