forked from arduino-libraries/Arduino_Portenta_OTA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathArduino_Portenta_OTA_Config.h
43 lines (33 loc) · 1.44 KB
/
Arduino_Portenta_OTA_Config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
This file is part of Arduino_Portenta_OTA.
Copyright 2022 ARDUINO SA (http://www.arduino.cc/)
This software is released under the GNU General Public License version 3,
which covers the main part of arduino-cli.
The terms of this license can be found at:
https://www.gnu.org/licenses/gpl-3.0.en.html
You can be released from the requirements of the above licenses by purchasing
a commercial license. Buying such a license is mandatory if you want to modify or
otherwise use the software for commercial activities involving the Arduino
software without disclosing the source code of your own applications. To purchase
a commercial license, send an email to [email protected].
*/
#ifndef ARDUINO_PORTENTA_OTA_CONFIG_H_
#define ARDUINO_PORTENTA_OTA_CONFIG_H_
/******************************************************************************
* INCLUDE
******************************************************************************/
#include <Arduino.h>
#if defined(ARDUINO_PORTENTA_H7_M7)
#define ARDUINO_PORTENTA_OTA_MAGIC 0x2341025b
#define ARDUINO_PORTENTA_OTA_SDMMC_SUPPORT
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
#endif
#if defined(ARDUINO_NICLA_VISION)
#define ARDUINO_PORTENTA_OTA_MAGIC 0x2341025f
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
#endif
#if defined(ARDUINO_OPTA)
#define ARDUINO_PORTENTA_OTA_MAGIC 0x23410064
#define ARDUINO_PORTENTA_OTA_QSPI_SUPPORT
#endif
#endif /* ARDUINO_PORTENTA_OTA_CONFIG_H_ */