aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 21:00:56 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 21:00:56 +0000
commit908373b487072d551d98059af63ce362dcc652fa (patch)
treeb37d5e6d5ee09d692c5c17419b40d589ef7b80ff /os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
parent0d45b1da6ee631dfe581304ba8abd3994c4896a8 (diff)
downloadChibiOS-908373b487072d551d98059af63ce362dcc652fa.tar.gz
ChibiOS-908373b487072d551d98059af63ce362dcc652fa.tar.bz2
ChibiOS-908373b487072d551d98059af63ce362dcc652fa.zip
Added PAL driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10630 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/SAMA5D2x/sama_registry.h')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/sama_registry.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
index 35d5e0057..24d10ed48 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
+++ b/os/hal/ports/SAMA/SAMA5D2x/sama_registry.h
@@ -54,10 +54,27 @@
/* PIO attributes.*/
#define SAMA_HAS_PIOA TRUE
+#if SAMA_HAL_IS_SECURE
+#define PIOA_BASE 0xFC039000U
+#else
+#define PIOA_BASE 0xFC038000U
+#endif
+
#define SAMA_HAS_PIOB TRUE
+#if SAMA_HAL_IS_SECURE
+#define PIOB_BASE 0xFC039040U
+#else
+#define PIOB_BASE 0xFC038040U
+#endif
+
#define SAMA_HAS_PIOC TRUE
-#define SAMA_HAS_PIOD FALSE
+#if SAMA_HAL_IS_SECURE
+#define PIOC_BASE 0xFC039080U
+#else
+#define PIOC_BASE 0xFC038080U
+#endif
+#define SAMA_HAS_PIOD FALSE
/** @} */
#endif /* SAMA_REGISTRY_H */