Skip to content

Commit 92b9a0e

Browse files
authored
Merge branch 'arduino-libraries:master' into master
2 parents 9c3d614 + a386620 commit 92b9a0e

File tree

5 files changed

+23
-9
lines changed

5 files changed

+23
-9
lines changed

.github/workflows/compile-examples.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,43 @@ jobs:
3434
- fqbn: arduino:avr:nano
3535
platforms: |
3636
- name: arduino:avr
37+
artifact-name-suffix: arduino-avr-nano
3738
- fqbn: arduino:avr:mega
3839
platforms: |
3940
- name: arduino:avr
41+
artifact-name-suffix: arduino-avr-mega
4042
- fqbn: arduino:avr:leonardo
4143
platforms: |
4244
- name: arduino:avr
45+
artifact-name-suffix: arduino-avr-leonardo
4346
- fqbn: arduino:megaavr:nona4809
4447
platforms: |
4548
- name: arduino:megaavr
49+
artifact-name-suffix: arduino-megaavr-nona4809
4650
- fqbn: arduino:sam:arduino_due_x_dbg
4751
platforms: |
4852
- name: arduino:sam
53+
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
4954
- fqbn: arduino:samd:mkrzero
5055
platforms: |
5156
- name: arduino:samd
57+
artifact-name-suffix: arduino-samd-mkrzero
5258
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
5359
platforms: |
5460
- name: arduino:mbed_portenta
61+
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
5562
- fqbn: arduino:mbed_portenta:envie_m7
5663
platforms: |
5764
- name: arduino:mbed_portenta
65+
artifact-name-suffix: arduino-mbed_portenta-envie_m7
5866
- fqbn: arduino:mbed_nano:nano33ble
5967
platforms: |
6068
- name: arduino:mbed_nano
69+
artifact-name-suffix: arduino-mbed_nano-nano33ble
6170
- fqbn: arduino:mbed_nano:nanorp2040connect
6271
platforms: |
6372
- name: arduino:mbed_nano
73+
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
6474

6575
steps:
6676
- name: Checkout repository
@@ -83,8 +93,8 @@ jobs:
8393
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
8494

8595
- name: Save sketches report as workflow artifact
86-
uses: actions/upload-artifact@v3
96+
uses: actions/upload-artifact@v4
8797
with:
8898
if-no-files-found: error
8999
path: ${{ env.SKETCHES_REPORTS_PATH }}
90-
name: ${{ env.SKETCHES_REPORTS_PATH }}
100+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}

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

Lines changed: 2 additions & 2 deletions
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/sync-labels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -108,13 +108,13 @@ jobs:
108108
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

docs/api.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,11 @@ file.read(buf, len)
571571

572572
#### Returns
573573

574-
The next byte (or character), or -1 if none is available.
574+
When used as `file.read()`:
575+
The next byte (or character), or -1 if none is available.
576+
577+
When used as `file.read(buf, len)`:
578+
The amount of bytes read, or -1 if an error occurred.
575579

576580
#### See also
577581

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SD
2-
version=1.2.4
2+
version=1.3.0
33
author=Arduino, SparkFun
44
maintainer=Arduino <[email protected]>
55
sentence=Enables reading and writing on SD cards.

0 commit comments

Comments
 (0)