]> git.sur5r.net Git - freertos/commitdiff
Update the common demo death.c to use the updated macro name to give it a secure...
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 19 Feb 2019 02:57:44 +0000 (02:57 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 19 Feb 2019 02:57:44 +0000 (02:57 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2636 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/Common/Minimal/death.c
FreeRTOS/Source/portable/RVDS/ARM_CM4_MPU/portmacro.h

index cfa0cea8456b331f74de63e7204521c1525f1120..ce7fa420e5ced68eeb8b7e2d693ab03bc3dcf939 100644 (file)
@@ -98,7 +98,7 @@ TaskHandle_t xTaskToKill;
 const TickType_t xDelay = pdMS_TO_TICKS( ( TickType_t ) 200 );\r
 \r
        /* Test deletion of a task's secure context, if any. */\r
-       portTASK_CALLS_SECURE_FUNCTIONS();\r
+       portALLOCATE_SECURE_CONTEXT( configMINIMAL_SECURE_STACK_SIZE );\r
 \r
        if( pvParameters != NULL )\r
        {\r
index 60bb7b619c278c41f1ceb4b83ba196b2e2cc3bd5..f30f23584ef7bb5e38a8eb8bacefbc9d58aeb6a0 100644 (file)
@@ -306,3 +306,4 @@ BaseType_t xReturn;
 #endif\r
 \r
 #endif /* PORTMACRO_H */\r
+\r