forked from arduino-libraries/Arduino_SecureElement
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSecureElementConfig.h
58 lines (45 loc) · 1.46 KB
/
SecureElementConfig.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*
This file is part of the Arduino_SecureElement library.
Copyright (c) 2024 Arduino SA
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef SECURE_ELEMENT_CONFIG_H_
#define SECURE_ELEMENT_CONFIG_H_
#if defined(ARDUINO_AVR_UNO_WIFI_REV2) ||\
defined(ARDUINO_SAMD_MKRWAN1300) || defined(ARDUINO_SAMD_MKRWAN1310) ||\
defined(ARDUINO_SAMD_MKRWIFI1010) || defined(ARDUINO_SAMD_NANO_33_IOT) ||\
defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKR1000) ||\
defined(ARDUINO_SAMD_MKRNB1500) || defined(ARDUINO_PORTENTA_H7_M7) ||\
defined(ARDUINO_NANO_RP2040_CONNECT) || defined(ARDUINO_OPTA) ||\
defined(ARDUINO_GIGA)
#define SECURE_ELEMENT_IS_ECCX08
#endif
#if defined(ARDUINO_NICLA_VISION) || defined(ARDUINO_PORTENTA_C33)
#define SECURE_ELEMENT_IS_SE050
#endif
#if defined(ARDUINO_UNOR4_WIFI)
#define SECURE_ELEMENT_IS_SOFTSE
#endif
#if defined __has_include
#if __has_include (<Arduino_DebugUtils.h>)
#include <Arduino_DebugUtils.h>
#endif
#endif
#ifndef DEBUG_ERROR
#define DEBUG_ERROR(fmt, ...)
#endif
#ifndef DEBUG_WARNING
#define DEBUG_WARNING(fmt, ...)
#endif
#ifndef DEBUG_INFO
#define DEBUG_INFO(fmt, ...)
#endif
#ifndef DEBUG_DEBUG
#define DEBUG_DEBUG(fmt, ...)
#endif
#ifndef DEBUG_VERBOSE
#define DEBUG_VERBOSE(fmt, ...)
#endif
#endif /* SECURE_ELEMENT_CONFIG_H_ */