Skip to content

Commit 1ddf431

Browse files
committed
Add support for GiGa
1 parent feb4e28 commit 1ddf431

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ sentence=Firmware update for the Portenta H7.
66
paragraph=This library allows performing a firmware update on the Arduino Portenta H7. The firmware can be stored in various different locations such as within the microcontroller's flash, on an external SD card or on the QSPI flash chip.
77
category=Communication
88
url=https://github.com/arduino-libraries/Arduino_Portenta_OTA
9-
architectures=mbed,mbed_portenta,mbed_nicla,mbed_opta
9+
architectures=mbed,mbed_portenta,mbed_nicla,mbed_opta,mbed_giga
1010
includes=Arduino_Portenta_OTA.h

src/Arduino_Portenta_OTA_Config.h

+5
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,9 @@
4040
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
4141
#endif
4242

43+
#if defined(ARDUINO_GIGA)
44+
#define ARDUINO_PORTENTA_OTA_MAGIC 0x23410266
45+
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
46+
#endif
47+
4348
#endif /* ARDUINO_PORTENTA_OTA_CONFIG_H_ */

0 commit comments

Comments
 (0)