diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 99e1f0bf8..8660f5707 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -58,6 +58,8 @@ jobs: type: nina - fqbn: arduino:mbed_nicla:nicla_vision type: mbed_nicla + - fqbn: arduino:mbed_opta:opta + type: mbed_opta # make board type-specific customizations to the matrix jobs include: @@ -148,6 +150,17 @@ jobs: - name: Arduino_Portenta_OTA sketch-paths: | - examples/utility/Provisioning + # Opta + - board: + type: mbed_opta + platforms: | + # Install mbed_opta platform via Boards Manager + - name: arduino:mbed_opta + libraries: | + - name: ArduinoECCX08 + - name: Arduino_Portenta_OTA + sketch-paths: | + - examples/utility/Provisioning # ESP8266 boards - board: type: esp8266 diff --git a/library.properties b/library.properties index 02d484f81..885e30881 100644 --- a/library.properties +++ b/library.properties @@ -6,6 +6,6 @@ sentence=This library allows connecting to the Arduino IoT Cloud service. paragraph=It provides a ConnectionManager to handle connection/disconnection, property-change updates and events callbacks. The supported boards are MKR GSM, MKR1000 and WiFi101. category=Communication url=https://github.com/arduino-libraries/ArduinoIoTCloud -architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta,mbed_nicla,esp32 +architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta,mbed_nicla,esp32,mbed_opta includes=ArduinoIoTCloud.h depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit SleepyDog Library diff --git a/src/AIoTC_Config.h b/src/AIoTC_Config.h index 56c90697b..bf4367714 100644 --- a/src/AIoTC_Config.h +++ b/src/AIoTC_Config.h @@ -102,7 +102,7 @@ #define OTA_STORAGE_SSU (0) #endif -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA) #define OTA_STORAGE_PORTENTA_QSPI (1) #else #define OTA_STORAGE_PORTENTA_QSPI (0) @@ -116,7 +116,7 @@ #if defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKR1000) || \ defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_PORTENTA_H7_M7) || \ - defined (ARDUINO_NANO_RP2040_CONNECT) + defined (ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_OPTA) #define BOARD_HAS_ECCX08 #define HAS_TCP #endif @@ -141,7 +141,7 @@ #define HAS_TCP #endif -#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) +#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA) #define BOARD_STM32H7 #endif