cancel
Showing results for 
Search instead for 
Did you mean: 

The portMacro.h of FreeRTOS

guo qiang
Senior
Posted on August 28, 2017 at 06:15

0690X000006081uQAA.png

The MPC series is a 32-bit chip.Why is FreeRTOS portSTACK_TYPE defined as a long type? I think it should be uint32 type.

Because STM32 is 32-bit chip, STM32 inside the portSTACK_TYPE defined as uint32 type
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
2 REPLIES 2
guo qiang
Senior
Posted on August 28, 2017 at 06:17

long is 4Bytes in the  MPC? 

or 8Bytes?

Erwan YVIN
ST Employee
Posted on August 28, 2017 at 10:02

Hello Guo ,

Long should be 4 bytes in MPC 32 Bits

  

      Best regards

         Erwan