Yes I did make it 0 the thing is When I ported one without MPU it was really easy but porting one with MPU I was facing so many issue specially in linker_script after that I copied one form a demo porject. Since I was getting error related to timer configUSE_TIMERS I also made this 0
Are you able to compile after setting configUSE_TIMERS to 0 ?
Also in your initial error snippet, it shows the error as mismatch between the function declaration of MPU_xTimerCreate , in the defintion of BaseType_t
Can you check 2 things , if the issue still persists:
Check the definition of MPU_xTimerCreate in mpu_wrappers_v2.c and in mpu_prototypes.h. From the error, it seems in one place we might be using UBaseType_t and in another BaseType_t
Which version of FreeRTOS Kernel are you using ? If not using the latest version, can you please use this version and see if the same problems occur?
after setting configUSE_TIMERS 0 I was able to compile but and also even the scheduler starts it won’t switch task I was trying the latest version for now I switched to GCC_M4F and it is working just fine. I think GCC_M4_MPU version required some extra modification to run and I am new into FreeRTOS. That’s why facing these issues
I was trying the latest version for now; I switched to GCC_M4F and it is working just fine. I think GCC_M4_MPU version required some extra modification to run
Here is a STM32 M7 demo that uses the new MPU wrapper with the port files you initially used [Source/portable/GCC/ARM_CM4_MPU]:
You can find the STM32 Cube IDE projet file for the demo here.