From 6ad85f4e4f386ca55feeb7903db36f5994caafdd Mon Sep 17 00:00:00 2001 From: Roberto Gazia Date: Tue, 7 Mar 2023 18:12:01 +0100 Subject: [PATCH 1/2] doc: add missing opta FQBN to supported boards --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 111cbcb7..f4792a56 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ Here are the FQBNs of the Arduino boards that can be provisioned with this comma * `arduino:samd:mkr1000` * `arduino:samd:mkrgsm1400` * `arduino:samd:mkrnb1500` +* `arduino:mbed_opta:opta` If the device supports more than one connectivity type (Eg: WiFi and Ethernet) the --connection flag can be used to set the desired connectivity From 5a74a3abdb9280a8e24303e450e2c6906b6db590 Mon Sep 17 00:00:00 2001 From: Roberto Gazia Date: Tue, 7 Mar 2023 18:28:27 +0100 Subject: [PATCH 2/2] feat: add GIGA board support --- .github/workflows/sync-binaries-task.yml | 1 + README.md | 1 + command/device/board.go | 1 + command/ota/generate.go | 1 + firmware/generator.py | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/sync-binaries-task.yml b/.github/workflows/sync-binaries-task.yml index 844e178c..04380e1f 100644 --- a/.github/workflows/sync-binaries-task.yml +++ b/.github/workflows/sync-binaries-task.yml @@ -28,6 +28,7 @@ jobs: arduino-cli core install arduino:mbed_portenta arduino-cli core install arduino:mbed_nicla arduino-cli core install arduino:mbed_opta + arduino-cli core install arduino:mbed_giga arduino-cli lib install ArduinoIotCloud arduino-cli lib install ArduinoECCX08 arduino-cli lib install ArduinoSTL diff --git a/README.md b/README.md index f4792a56..297e6fe9 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ Here are the FQBNs of the Arduino boards that can be provisioned with this comma * `arduino:samd:mkrgsm1400` * `arduino:samd:mkrnb1500` * `arduino:mbed_opta:opta` +* `arduino:mbed_giga:giga` If the device supports more than one connectivity type (Eg: WiFi and Ethernet) the --connection flag can be used to set the desired connectivity diff --git a/command/device/board.go b/command/device/board.go index 6aa1c525..568285c2 100644 --- a/command/device/board.go +++ b/command/device/board.go @@ -34,6 +34,7 @@ var ( "arduino:samd:mkrgsm1400", "arduino:samd:mkrnb1500", "arduino:mbed_opta:opta", + "arduino:mbed_giga:giga", } loraFQBN = []string{ "arduino:samd:mkrwan1310", diff --git a/command/ota/generate.go b/command/ota/generate.go index def506bb..04741464 100644 --- a/command/ota/generate.go +++ b/command/ota/generate.go @@ -39,6 +39,7 @@ var ( "arduino:mbed_portenta:envie_m7": "025B", "arduino:mbed_nicla:nicla_vision": "025F", "arduino:mbed_opta:opta": "0064", + "arduino:mbed_giga:giga": "0266", } esp32MagicNumberPart1 = "4553" esp32MagicNumberPart2 = "5033" diff --git a/firmware/generator.py b/firmware/generator.py index ca87241d..dcee5036 100755 --- a/firmware/generator.py +++ b/firmware/generator.py @@ -30,6 +30,7 @@ {"type": "crypto", "ext": ".bin", "fqbn": "arduino:samd:mkrgsm1400"}, {"type": "crypto", "ext": ".bin", "fqbn": "arduino:samd:mkrnb1500"}, {"type": "crypto", "ext": ".bin", "fqbn": "arduino:mbed_opta:opta"}, + {"type": "crypto", "ext": ".bin", "fqbn": "arduino:mbed_giga:giga"}, {"type": "lora", "ext": ".bin", "fqbn": "arduino:samd:mkrwan1300"}, {"type": "lora", "ext": ".bin", "fqbn": "arduino:samd:mkrwan1310"}, ]