General porting procedures

Thank you very much for your detailed answer!

When each task is created, you need to initialize the stack with a frame such that the context restore operation will start the task

.
Sorry I can not imagine how to create frame(for pxPortInitialiseStack) from context restore operation, and example for PIC32MZ do not do it obviously