Skip to content

Commit 1d49699

Browse files
Merge branch 'master' into Stepper_3p_nonblocking
2 parents 01dee92 + 9189fa7 commit 1d49699

File tree

6 files changed

+28
-13
lines changed

6 files changed

+28
-13
lines changed

.github/workflows/check-arduino.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Arduino Lint
2222
uses: arduino/arduino-lint-action@v1

.github/workflows/compile-examples.yml

+17-4
Original file line numberDiff line numberDiff line change
@@ -36,46 +36,59 @@ jobs:
3636
- fqbn: arduino:avr:nano
3737
platforms: |
3838
- name: arduino:avr
39+
artifact-name-suffix: arduino-avr-nano
3940
- fqbn: arduino:avr:mega
4041
platforms: |
4142
- name: arduino:avr
43+
artifact-name-suffix: arduino-avr-mega
4244
- fqbn: arduino:avr:leonardo
4345
platforms: |
4446
- name: arduino:avr
47+
artifact-name-suffix: arduino-avr-leonardo
4548
- fqbn: arduino:megaavr:uno2018
4649
platforms: |
4750
- name: arduino:megaavr
51+
artifact-name-suffix: arduino-megaavr-uno2018
4852
- fqbn: arduino:megaavr:nona4809
4953
platforms: |
5054
- name: arduino:megaavr
55+
artifact-name-suffix: arduino-megaavr-nona4809
5156
- fqbn: arduino:sam:arduino_due_x_dbg
5257
platforms: |
5358
- name: arduino:sam
59+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
5460
- fqbn: arduino:samd:arduino_zero_edbg
5561
platforms: |
5662
- name: arduino:samd
63+
artifact-name-suffix: arduino-samd-arduino_zero_edbg
5764
- fqbn: arduino:samd:mkrzero
5865
platforms: |
5966
- name: arduino:samd
67+
artifact-name-suffix: arduino-samd-mkrzero
6068
- fqbn: arduino:samd:nano_33_iot
6169
platforms: |
6270
- name: arduino:samd
63-
- fqbn: arduino:mbed_portenta:envie_m4
71+
artifact-name-suffix: arduino-samd-nano_33_iot
72+
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
6473
platforms: |
6574
- name: arduino:mbed_portenta
75+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
6676
- fqbn: arduino:mbed_portenta:envie_m7
6777
platforms: |
6878
- name: arduino:mbed_portenta
79+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
6980
- fqbn: arduino:mbed_nano:nano33ble
7081
platforms: |
7182
- name: arduino:mbed_nano
83+
artifact-name-suffix: arduino-mbed_nano-nano33ble
7284
- fqbn: arduino:mbed_nano:nanorp2040connect
7385
platforms: |
7486
- name: arduino:mbed_nano
87+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
7588

7689
steps:
7790
- name: Checkout repository
78-
uses: actions/checkout@v3
91+
uses: actions/checkout@v4
7992

8093
- name: Compile examples
8194
uses: arduino/compile-sketches@v1
@@ -94,8 +107,8 @@ jobs:
94107
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
95108

96109
- name: Save sketches report as workflow artifact
97-
uses: actions/upload-artifact@v3
110+
uses: actions/upload-artifact@v4
98111
with:
99112
if-no-files-found: error
100113
path: ${{ env.SKETCHES_REPORTS_PATH }}
101-
name: ${{ env.SKETCHES_REPORTS_PATH }}
114+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

.github/workflows/report-size-deltas.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
- name: Comment size deltas reports to PRs
2121
uses: arduino/report-size-deltas@v1
2222
with:
23-
# The name of the workflow artifact created by the sketch compilation workflow
24-
sketches-reports-source: sketches-reports
23+
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
24+
sketches-reports-source: ^sketches-report-.+

.github/workflows/spell-check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Spell check
2222
uses: codespell-project/actions-codespell@master

.github/workflows/sync-labels.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131

3232
- name: Download JSON schema for labels configuration file
3333
id: download-schema
@@ -70,7 +70,7 @@ jobs:
7070
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}
7171

7272
- name: Pass configuration files to next job via workflow artifact
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
path: |
7676
*.yaml
@@ -105,16 +105,16 @@ jobs:
105105
echo "::set-output name=flag::--dry-run"
106106
107107
- name: Checkout repository
108-
uses: actions/checkout@v3
108+
uses: actions/checkout@v4
109109

110110
- name: Download configuration files artifact
111-
uses: actions/download-artifact@v3
111+
uses: actions/download-artifact@v4
112112
with:
113113
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
114114
path: ${{ env.CONFIGURATIONS_FOLDER }}
115115

116116
- name: Remove unneeded artifact
117-
uses: geekyeggo/delete-artifact@v2
117+
uses: geekyeggo/delete-artifact@v5
118118
with:
119119
name: ${{ env.CONFIGURATIONS_ARTIFACT }}
120120

src/Stepper.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ void Stepper::step(int steps_to_move)
281281
stepMotor(this->step_number % 4);
282282
break;
283283
}
284+
} else {
285+
yield();
284286
}
285287
}
286288
}

0 commit comments

Comments
 (0)