diff options
Diffstat (limited to 'demos/ATSAMA5D2')
4 files changed, 5 insertions, 12 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile index d3c0ddb5c..12d698ec2 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/Makefile @@ -5,7 +5,7 @@ # Compiler options here.
ifeq ($(USE_OPT),)
- USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
+ USE_OPT = -Og -ggdb -fomit-frame-pointer -falign-functions=16
endif
# C specific options here (added to USE_OPT).
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h index e7938699a..2e08d695b 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/chconf.h @@ -603,13 +603,6 @@ /* Port-specific settings (override port settings defaulted in chcore.h). */
/*===========================================================================*/
-/**
- * @brief Trust zone configuration.
- * @details If enabled the kernel is configured for the secure world
- * and can access specific devices.
- */
-#define CH_CFG_SEC_WORLD FALSE
-
#endif /* CHCONF_H */
/** @} */
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c index 6a56bff14..ef85a452b 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c @@ -56,7 +56,7 @@ msg_t smcInvoke(smc_service_t handle, smc_params_area_t data, msg_t smcInvokeService(smc_service_t handle, smc_params_area_t data,
size_t size)
{
- msg_t result = MSG_OK;
+ msg_t result;
result = smcInvoke(handle, data, size);
while (result == SMC_SVC_INTR)
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.h b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.h index ceb2941b7..06a5e3631 100644 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.h +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.h @@ -44,9 +44,9 @@ /*
* Special service handles
*/
-#define SMC_HND_TRAMP ((smc_service_t *)0) /* Trampoline service handle */
-#define SMC_HND_DISCOVERY ((smc_service_t *)1) /* Discovery service handle */
-#define SMC_HND_REENTER ((smc_service_t *)2) /* Reentering a service service handle */
+#define SMC_HND_TRAMP ((smc_service_t *)0) /* Trampoline */
+#define SMC_HND_DISCOVERY ((smc_service_t *)1) /* Discovery */
+#define SMC_HND_REENTER ((smc_service_t *)2) /* Reentering a service */
/*===========================================================================*/
/* Module pre-compile time settings. */
|