aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ATSAMA5D2
diff options
context:
space:
mode:
authorisiora <none@example.com>2018-03-21 14:36:09 +0000
committerisiora <none@example.com>2018-03-21 14:36:09 +0000
commita28b3e44ca453a85740bd9bdb23b95bd3d4c4f6b (patch)
treedd67ab517bf0c69ce55917f41e3d8668cf7c53e2 /demos/ATSAMA5D2
parent6f1b8f2f1d32d5bafe3f67432921dbb65fbc3ff1 (diff)
downloadChibiOS-a28b3e44ca453a85740bd9bdb23b95bd3d4c4f6b.tar.gz
ChibiOS-a28b3e44ca453a85740bd9bdb23b95bd3d4c4f6b.tar.bz2
ChibiOS-a28b3e44ca453a85740bd9bdb23b95bd3d4c4f6b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11833 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/ATSAMA5D2')
-rw-r--r--demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tsconf.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tsconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tsconf.h
new file mode 100644
index 000000000..67fd306a4
--- /dev/null
+++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tsconf.h
@@ -0,0 +1,62 @@
+/*
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio.
+
+ This file is part of ChibiOS.
+
+ ChibiOS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file tsconf.h
+ * @brief Configuration parameters for trusted services.
+ *
+ */
+
+#ifndef TSCONF_H
+#define TSCONF_H
+
+/*===========================================================================*/
+/* Module constants. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module pre-compile time settings. */
+/*===========================================================================*/
+#define NSEC_MEMORY_START_ADDR ((uint8_t *)0x20000000)
+#define NSEC_MEMORY_EXE_OFFSET ((uint32_t) 0x01000000)
+#define NSEC_MEMORY_END_ADDR ((uint8_t *)0x27000000)
+#define SEC_MEMORY_START_ADDR ((uint8_t *)0x27000000)
+#define SEC_MEMORY_SIZE ((size_t)0x1000000)
+
+/*===========================================================================*/
+/* Derived constants and error checks. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Module inline functions. */
+/*===========================================================================*/
+
+#endif /* TSCONF_H */