Thank your for your replay /
I have couple of questions here:
What do you mean by cyclic tasks here? Do you mean periodic tasks that run at a specific interval?
Oui je veux dire les fonctions crées par
response = xTask_A_CreateRestricted(XX, XX);
Basically what I want to do is:
////////////////////////////////////////////////
//Variable Globale
int BEDPosition;// Variable for Task A
Int TTLPosition;//Variable for Task B
static const Task_A_Seeting_t repetifTask_A_Seeting = {
repetifTask_A,
repetifTask_A_Name,
K_repetifTask_A_StackSize,
NULL,
K_repetifTask_A_Priority,
NULL,
// Regions
{
{ (UINT32) &_RAM_soft_Start_Address__,
(UINT32) &_RAM_soft_End_Address__,
portMPU_REGION_R_EXECUTE
},
{ 0,
0,
0
},
{ (UINT32) &_ROM_ConfigurationStartAdr__,
(UINT32) &_ROM_ConfigurationEndAdr__,
portMPU_REGION_READ_WRITE
},
}
};
________________________________
//Création de l task A
response = xTask_A_CreateRestricted(&repetifTask_A_Seeting, &repetifTask_A_Hdl);
//Création de la task B
response = xTask_B_CreateRestricted(&repetifTask_B_Seeting, &repetifTask_B_Hdl);
______________________
Now I want task A to be unable to access the global variable TTLPosition only access BEDPosition and task B also to be unable to access the global variable BEDPosition only TTLPosition.
It’s for cyber reasons I want to create an independent task that could not communicate with other tasks, but since it shares the variables with the others, I wanted to protect the variables or do such so that the others cannot see his global variables and he could not see those of others
thank you in advance for your help