Skip to content

Commit 73fbd34

Browse files
committed
Fix CI workflow for compiling sketches
1 parent 4a1a302 commit 73fbd34

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

Diff for: .github/workflows/compile-examples.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ env:
2424
UNIVERSAL_SKETCH_PATHS: |
2525
- examples/Battery
2626
- examples/Charger
27-
- examples/DeepSleep_WakeFromPin
28-
- examples/DeepSleep_WakeFromRTC
29-
- examples/Powershell
27+
- examples/Standby_WakeFromPin
3028
SKETCHES_REPORTS_PATH: sketches-reports
3129
SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports
3230

@@ -46,6 +44,13 @@ jobs:
4644
- fqbn: arduino:renesas_portenta:portenta_c33
4745
platforms: |
4846
- name: arduino:renesas_portenta
47+
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
48+
additional-sketch-paths: examples/ChargStandby_WakeFromRTC_C33er
49+
- fqbn: arduino:mbed_portenta:envie_m7
50+
platforms: |
51+
- name: arduino:mbed_portenta
52+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
53+
additional-sketch-paths: examples/Standby_WakeFromRTC_H7
4954

5055

5156
steps:
@@ -62,8 +67,8 @@ jobs:
6267
# Install the library from the local path.
6368
- source-path: ./
6469
# - name: Arduino_PF1550
65-
- source-url: https://github.com/arduino-libraries/Arduino_PF1550_old.git
66-
- source-url: https://github.com/arduino-libraries/Arduino_Portenta_C33_LowPower.git
70+
- source-url: https://github.com/arduino-libraries/Arduino_PF1550.git
71+
- source-url: https://github.com/arduino-libraries/Arduino_LowPowerPortentaC33.git
6772
sketch-paths: |
6873
${{ env.UNIVERSAL_SKETCH_PATHS }}
6974
${{ matrix.board.additional-sketch-paths }}

Diff for: examples/Battery/Battery.ino

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*
32
Battery Information Display Demo
43

Diff for: src/Battery.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ void Battery::setTemperatureMeasurementMode(bool externalTemperature){
177177
configRegister = bitSet(configRegister, TSEL_BIT);
178178
configRegister = bitSet(configRegister, ETHRM_BIT);
179179
// FIXME: The external thermistor temperature measurement is not working as expected
180-
// In oder to support this, probably more configuration is needed
180+
// In order to support this, probably more configuration is needed
181181
// Currently after taking the first reading, the battery gets reported as disconnected
182182
// plus the register value is reset to the default value.
183183
} else {

0 commit comments

Comments
 (0)