Skip to content

Commit 09fb6c8

Browse files
committed
Add Nicla Vison and Opta binary download url
1 parent feb4e28 commit 09fb6c8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/OTA_Qspi_Flash/OTA_Qspi_Flash.ino

+8
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@
3333
static char const SSID[] = SECRET_SSID; /* your network SSID (name) */
3434
static char const PASS[] = SECRET_PASS; /* your network password (use for WPA, or use as key for WEP) */
3535

36+
#if defined(ARDUINO_NICLA_VISION)
37+
static char const OTA_FILE_LOCATION[] = "http://downloads.arduino.cc/ota/OTA_Usage_Portenta.ino.NICLA_VISION.ota";
38+
#elif defined(ARDUINO_PORTENTA_H7_M7)
3639
static char const OTA_FILE_LOCATION[] = "http://downloads.arduino.cc/ota/OTA_Usage_Portenta.ino.PORTENTA_H7_M7.ota";
40+
#elif defined(ARDUINO_OPTA)
41+
static char const OTA_FILE_LOCATION[] = "http://downloads.arduino.cc/ota/OTA_Usage_Portenta.ino.OPTA.ota";
42+
#else
43+
#error "Board not supported"
44+
#endif
3745

3846
/******************************************************************************
3947
* SETUP/LOOP

0 commit comments

Comments
 (0)