how to determine portSTACK_TYPE when porting?

anonymous wrote on Friday, August 21, 2009:

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

edwards3 wrote on Friday, August 21, 2009:

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).

anonymous wrote on Friday, August 21, 2009:

Thank you very much!