Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-06-13 20:08:47 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-06-13 20:08:47 +0300
commit35923f84e6b3d387c1608fa591fa6aa3e218175f (patch)
tree6fde0108c2e3622d77e9fc9829eba13b15241803 /src/Pins.h
parent9bdf603aa31c6576e3faf759f844a94f04835bfc (diff)
More changes for 5LC
Diffstat (limited to 'src/Pins.h')
-rw-r--r--src/Pins.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/Pins.h b/src/Pins.h
index 467addd8..7eaf0ecd 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -182,11 +182,17 @@
# define ALLOCATE_DEFAULT_PORTS 0
#endif
-// We must define SUPPORTS_UNIQUE_ID as either 0 or 1 so we can use it in maths
-#if SAM4E || SAM4S || SAME70
-# define SUPPORTS_UNIQUE_ID 1
+// We must define MCU_HAS_UNIQUE_ID as either 0 or 1 so we can use it in maths
+#if SAM4E || SAM4S || SAME70 || SAME5x
+# define MCU_HAS_UNIQUE_ID 1
#else
-# define SUPPORTS_UNIQUE_ID 0
+# define MCU_HAS_UNIQUE_ID 0
+#endif
+
+#if SAME70 || SAME5x
+# define MCU_HAS_TRUERANDOM 1
+#else
+# define MCU_HAS_TRUERANDOM 0
#endif
#endif // PINS_H__