Skip to main content
guo qiang
Senior
August 28, 2017
Question

The portMacro.h of FreeRTOS

  • August 28, 2017
  • 2 replies
  • 863 views
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 topic has been closed for replies.

    2 replies

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

    long is 4Bytes in the  MPC? 

    or 8Bytes?

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

    Hello Guo ,

    Long should be 4 bytes in MPC 32 Bits

      

          Best regards

             Erwan