how to determine portSTACK_TYPE when porting?

is it same as the width of ‘pushing’ or ‘poping’ of CPU?

how to determine portSTACK_TYPE when porting?

Yes, if a push instruction pushes 4 bytes onto the stack then the stack type should be defined to a 4 byte type (normally a long).

how to determine portSTACK_TYPE when porting?

Thank you very much!