diff options
author | edolomb <none@example.com> | 2017-09-27 13:28:54 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2017-09-27 13:28:54 +0000 |
commit | d45f8bf0537eaf4b163974c2aa33937030d49de5 (patch) | |
tree | e7fa8ce4219e5b47e5f5f5199116f29a41cf5f50 /os/hal | |
parent | 85621dde08560b98cb82dceebb2c52dd44e672cc (diff) | |
download | ChibiOS-d45f8bf0537eaf4b163974c2aa33937030d49de5.tar.gz ChibiOS-d45f8bf0537eaf4b163974c2aa33937030d49de5.tar.bz2 ChibiOS-d45f8bf0537eaf4b163974c2aa33937030d49de5.zip |
Added PIOD definition
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10717 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/sama_registry.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h index 24d10ed48..d7735ba0d 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h +++ b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h @@ -74,7 +74,12 @@ #define PIOC_BASE 0xFC038080U
#endif
-#define SAMA_HAS_PIOD FALSE
+#define SAMA_HAS_PIOD TRUE
+#if SAMA_HAL_IS_SECURE
+#define PIOD_BASE 0xFC0390C0U
+#else
+#define PIOD_BASE 0xFC0380C0U
+#endif
/** @} */
#endif /* SAMA_REGISTRY_H */
|