Skip to content

Commit f072054

Browse files
committed
Add support for opta board
1 parent 7dd93ad commit f072054

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ sentence=This library allows connecting to the Arduino IoT Cloud service.
66
paragraph=It provides a ConnectionManager to handle connection/disconnection, property-change updates and events callbacks. The supported boards are MKR GSM, MKR1000 and WiFi101.
77
category=Communication
88
url=https://github.com/arduino-libraries/ArduinoIoTCloud
9-
architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta,mbed_nicla,esp32
9+
architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta,mbed_nicla,esp32,mbed_opta
1010
includes=ArduinoIoTCloud.h
1111
depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit SleepyDog Library

src/AIoTC_Config.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
#define OTA_STORAGE_SSU (0)
103103
#endif
104104

105-
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
105+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA)
106106
#define OTA_STORAGE_PORTENTA_QSPI (1)
107107
#else
108108
#define OTA_STORAGE_PORTENTA_QSPI (0)
@@ -116,7 +116,7 @@
116116

117117
#if defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKR1000) || \
118118
defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_PORTENTA_H7_M7) || \
119-
defined (ARDUINO_NANO_RP2040_CONNECT)
119+
defined (ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_OPTA)
120120
#define BOARD_HAS_ECCX08
121121
#define HAS_TCP
122122
#endif
@@ -141,7 +141,7 @@
141141
#define HAS_TCP
142142
#endif
143143

144-
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION)
144+
#if defined(ARDUINO_PORTENTA_H7_M7) || defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_OPTA)
145145
#define BOARD_STM32H7
146146
#endif
147147

0 commit comments

Comments
 (0)