Skip to content

Commit 6ea657c

Browse files
authored
Merge pull request #23 from bcmi-labs/nicla_vision
Add support for NICLA VISION
2 parents 4fede42 + 26eb5db commit 6ea657c

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.github/workflows/compile-examples.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ jobs:
3535
- fqbn: arduino:mbed:envie_m7
3636
platforms: |
3737
- name: arduino:mbed
38+
sketch-paths: |
39+
- examples/OTA_Qspi_Flash
40+
- examples/OTA_SD_Portenta
41+
- examples/OTA_Usage_Portenta
42+
- fqbn: arduino:mbed_nicla:nicla_vision
43+
platforms: |
44+
- name: arduino:mbed_nicla
45+
sketch-paths: |
46+
- examples/OTA_Qspi_Flash
47+
- examples/OTA_Usage_Portenta
3848
3949
steps:
4050
- name: Checkout
@@ -52,7 +62,7 @@ jobs:
5262
# Additional library dependencies can be listed here.
5363
# See: https://github.com/arduino/compile-sketches#libraries
5464
sketch-paths: |
55-
- ./examples/
65+
${{ matrix.board.sketch-paths }}
5666
enable-deltas-report: true
5767
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
5868

library.properties

Lines changed: 1 addition & 1 deletion
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
9+
architectures=mbed,mbed_portenta,mbed_nicla
1010
includes=Arduino_Portenta_OTA.h

src/Arduino_Portenta_OTA_Config.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,9 @@
3030
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
3131
#endif
3232

33+
#if defined(ARDUINO_NICLA_VISION)
34+
#define ARDUINO_PORTENTA_OTA_MAGIC 0x2341025f
35+
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
36+
#endif
37+
3338
#endif /* ARDUINO_PORTENTA_OTA_CONFIG_H_ */

0 commit comments

Comments
 (0)