From a28b3e44ca453a85740bd9bdb23b95bd3d4c4f6b Mon Sep 17 00:00:00 2001 From: isiora Date: Wed, 21 Mar 2018 14:36:09 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11833 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- .../RT-SAMA5D2-XPLAINED-SEC/tsconf.h | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-SEC/tsconf.h 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 . +*/ + +/** + * @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 */