We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb4e28 commit d5cfc1bCopy full SHA for d5cfc1b
examples/OTA_Qspi_Flash/OTA_Qspi_Flash.ino
@@ -33,7 +33,13 @@
33
static char const SSID[] = SECRET_SSID; /* your network SSID (name) */
34
static char const PASS[] = SECRET_PASS; /* your network password (use for WPA, or use as key for WEP) */
35
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)
39
static char const OTA_FILE_LOCATION[] = "http://downloads.arduino.cc/ota/OTA_Usage_Portenta.ino.PORTENTA_H7_M7.ota";
40
+#else
41
+#error "Board not supported"
42
+#endif
43
44
/******************************************************************************
45
* SETUP/LOOP
0 commit comments