FreeRtos not running on PIC32MZ

I think that you are running in the same issue as me:

I recommend that you add #define configLIST_VOLATILE volatile in FreeRTOSConfig.h to err on the safe side, I would randomly get null-pointer de-referenced without it.