I am here trying to make project where i create some different tasks are intersecting with different peripherals and isolate those tasks for memory usage using MPU in freeRTOS on LPC 1769, when i open a peripheral say UART or I2C there a structure object is been generated related to that peripheral_control_t as it is done by FreeRTOS+IO framework.
Now my object is been created and the address is returned by FreeRTOS_open api now i want to use those address in creating a ristrected task using xTaskCreateRestricted, As i use this handler as in starting point of any region it gives me error like its not constant.
how do i solve this problem ? how can i pass memory space generated at run time as this FreeRTOS_open api is been called at starting of main() and then give them in such restricted tasks are been created after that.
I am bit confused over here.