We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db7604 commit 29be7a4Copy full SHA for 29be7a4
src/bpid/csn.h
@@ -10,8 +10,7 @@
10
11
#pragma once
12
13
-#include <Arduino.h>
14
-#include <Arduino_SecureElement.h>
+
15
16
namespace arduino { namespace csn {
17
/*
@@ -29,13 +28,18 @@ namespace arduino { namespace csn {
29
28
defined(ARDUINO_PORTENTA_H7_M7) || \
30
defined(ARDUINO_OPTA) || \
31
defined(ARDUINO_GIGA)
+ #include <Arduino_SecureElement.h>
32
#define CRYPTO_SN_SIZE 9
33
#elif defined(ARDUINO_PORTENTA_C33) || \
34
defined(ARDUINO_NICLA_VISION)
35
36
#define CRYPTO_SN_SIZE SE05X_SN_LENGTH
37
#elif defined(ARDUINO_UNOR4_WIFI)
38
39
#define CRYPTO_SN_SIZE 6
40
#else
41
+ #include <stdint.h>
42
+ #include <stddef.h>
43
#define CRYPTO_SN_SIZE 0
44
#endif
45
0 commit comments