Skip to content

Commit 0dd62f4

Browse files
committedAug 30, 2024·
Compile R4 provisioning scripts and binaries
1 parent ea7cfdc commit 0dd62f4

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed
 

‎.github/workflows/sync-binaries-task.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
arduino-cli core install arduino:mbed_nicla
3030
arduino-cli core install arduino:mbed_opta
3131
arduino-cli core install arduino:mbed_giga
32+
arduino-cli core install arduino:renesas_uno
3233
arduino-cli lib install ArduinoIotCloud
3334
arduino-cli lib install ArduinoECCX08
3435
arduino-cli lib install ArduinoSTL

‎command/device/board.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var (
3535
"arduino:samd:mkrnb1500",
3636
"arduino:mbed_opta:opta",
3737
"arduino:mbed_giga:giga",
38+
"arduino:renesas_uno:unor4wifi",
3839
}
3940
loraFQBN = []string{
4041
"arduino:samd:mkrwan1310",

‎firmware/generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
{"type": "crypto", "ext": ".bin", "fqbn": "arduino:samd:mkrnb1500"},
3232
{"type": "crypto", "ext": ".bin", "fqbn": "arduino:mbed_opta:opta"},
3333
{"type": "crypto", "ext": ".bin", "fqbn": "arduino:mbed_giga:giga"},
34+
{"type": "crypto", "ext": ".bin", "fqbn": "arduino:renesas_uno:unor4wifi"},
3435
{"type": "lora", "ext": ".bin", "fqbn": "arduino:samd:mkrwan1300"},
3536
{"type": "lora", "ext": ".bin", "fqbn": "arduino:samd:mkrwan1310"},
3637
]

‎internal/binary/index.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"context"
2323
"encoding/json"
2424
"fmt"
25-
"io/ioutil"
25+
"io"
2626

2727
"compress/gzip"
2828

@@ -67,7 +67,7 @@ func LoadIndex(ctx context.Context) (*Index, error) {
6767
if err != nil {
6868
return nil, fmt.Errorf("cannot decompress index: %w", err)
6969
}
70-
index, err := ioutil.ReadAll(indexReader)
70+
index, err := io.ReadAll(indexReader)
7171
if err != nil {
7272
return nil, fmt.Errorf("cannot read downloaded index: %w", err)
7373
}

0 commit comments

Comments
 (0)
Please sign in to comment.