*/\r
\r
#ifndef configENABLE_FPU\r
- #error configENABLE_FPU must be defined in FreeRTOSConfig.h.\r
+ #error configENABLE_FPU must be defined in FreeRTOSConfig.h. Set configENABLE_FPU to 1 to enable the FPU or 0 to disable the FPU.\r
#endif /* configENABLE_FPU */\r
\r
#ifndef configENABLE_MPU\r
- #error configENABLE_MPU must be defined in FreeRTOSConfig.h.\r
+ #error configENABLE_MPU must be defined in FreeRTOSConfig.h. Set configENABLE_MPU to 1 to enable the MPU or 0 to disable the MPU.\r
#endif /* configENABLE_MPU */\r
\r
#ifndef configENABLE_TRUSTZONE\r
- #error configENABLE_TRUSTZONE must be defined in FreeRTOSConfig.h.\r
+ #error configENABLE_TRUSTZONE must be defined in FreeRTOSConfig.h. Set configENABLE_TRUSTZONE to 1 to enable TrustZone or 0 to disable TrustZone.\r
#endif /* configENABLE_TRUSTZONE */\r
+\r
/*-----------------------------------------------------------*/\r
\r
/**\r
/**\r
* Architecture specifics.\r
*/\r
+#define portARCH_NAME "Cortex-M33"\r
#define portSTACK_GROWTH ( -1 )\r
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )\r
#define portBYTE_ALIGNMENT 8\r
/* MPU regions. */\r
#define portPRIVILEGED_FLASH_REGION ( 0UL )\r
#define portUNPRIVILEGED_FLASH_REGION ( 1UL )\r
-#define portPRIVILEGED_RAM_REGION ( 2UL )\r
-#define portUNPRIVILEGED_DEVICE_REGION ( 3UL )\r
+#define portUNPRIVILEGED_SYSCALLS_REGION ( 2UL )\r
+#define portPRIVILEGED_RAM_REGION ( 3UL )\r
#define portSTACK_REGION ( 4UL )\r
#define portFIRST_CONFIGURABLE_REGION ( 5UL )\r
#define portLAST_CONFIGURABLE_REGION ( 7UL )\r
#define portNUM_CONFIGURABLE_REGIONS ( ( portLAST_CONFIGURABLE_REGION - portFIRST_CONFIGURABLE_REGION ) + 1 )\r
#define portTOTAL_NUM_REGIONS ( portNUM_CONFIGURABLE_REGIONS + 1 ) /* Plus one to make space for the stack region. */\r
\r
-/* Devices Region. */\r
-#define portDEVICE_REGION_START_ADDRESS ( 0x50000000 )\r
-#define portDEVICE_REGION_END_ADDRESS ( 0x5FFFFFFF )\r
-\r
/* Device memory attributes used in MPU_MAIR registers.\r
*\r
* 8-bit values encoded as follows:\r
#endif /* configENABLE_MPU */\r
/*-----------------------------------------------------------*/\r
\r
+/**\r
+ * @brief Barriers.\r
+ */\r
+#define portMEMORY_BARRIER() __asm volatile( "" ::: "memory" )\r
+/*-----------------------------------------------------------*/\r
+\r
#ifdef __cplusplus\r
}\r
#endif\r