Porting FreeRTOS on PIC24FJ256GB210

Hey everybody!!!!
I am trying to port FreeRTOS on PIC24FJ256GB210. I started with the initial steps of modifying the demo code available for PIC24FJ128GA010 as mentioned on the site but I am getting the error “In function ‘pxPortInitialiseStack’: port.c:238: error: ‘PSVPAG’ undeclared (first use in this function)” I tried to find the register in the datasheet and it is called Program Space Visibility Page Address Register…. but the same is not available for GB210. Can you help me with the problem?

Porting FreeRTOS on PIC24FJ256GB210

That part has an extended data space (EDS).  EDS support was added in FreeRTOS V7.4.0.  Which version are you using? Regards.