Skip to content

Commit cac83b8

Browse files
authored
Merge pull request #345 from pennam/opta
Add support for opta board
2 parents 7dd93ad + 5dc5b5d commit cac83b8

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/workflows/compile-examples.yml

+13
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
type: nina
5959
- fqbn: arduino:mbed_nicla:nicla_vision
6060
type: mbed_nicla
61+
- fqbn: arduino:mbed_opta:opta
62+
type: mbed_opta
6163

6264
# make board type-specific customizations to the matrix jobs
6365
include:
@@ -148,6 +150,17 @@ jobs:
148150
- name: Arduino_Portenta_OTA
149151
sketch-paths: |
150152
- examples/utility/Provisioning
153+
# Opta
154+
- board:
155+
type: mbed_opta
156+
platforms: |
157+
# Install mbed_opta platform via Boards Manager
158+
- name: arduino:mbed_opta
159+
libraries: |
160+
- name: ArduinoECCX08
161+
- name: Arduino_Portenta_OTA
162+
sketch-paths: |
163+
- examples/utility/Provisioning
151164
# ESP8266 boards
152165
- board:
153166
type: esp8266

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)