diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2017-09-17 17:07:33 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@gmail.com> | 2017-09-17 17:07:33 +0000 |
commit | 65874b21bdef35bb11bde0316b7b788005b14f5c (patch) | |
tree | 72f30d7ff714c9205a83ea75268946a72e2836ee /os | |
parent | d7dca11fbf4ab15ea00fffbec49195c9a39d7346 (diff) | |
download | ChibiOS-65874b21bdef35bb11bde0316b7b788005b14f5c.tar.gz ChibiOS-65874b21bdef35bb11bde0316b7b788005b14f5c.tar.bz2 ChibiOS-65874b21bdef35bb11bde0316b7b788005b14f5c.zip |
Added SAMA_HAL_IS_SECURE switch
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10620 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/hal_lld.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h index 7669ad25e..2144ea8fe 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h +++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.h @@ -197,6 +197,15 @@ * @{
*/
/**
+ * @brief Defines if the code is running in the secure side of the ARM Trust
+ * Zone. It must be @p TRUE whenever the code is compiled for the
+ * secure side.
+ */
+#if !defined(SAMA_NO_INIT) || defined(__DOXYGEN__)
+#define SAMA_HAL_IS_SECURE TRUE
+#endif
+
+/**
* @brief Disables the PMC initialization in the HAL.
*/
#if !defined(SAMA_NO_INIT) || defined(__DOXYGEN__)
|