AnsweredAssumed Answered

MPC5748g allocate variables to RAM

Question asked by jiajian qiu on Jun 19, 2019
Latest reply on Jun 19, 2019 by Martin Kovar

Hi:

      I want to assign variables to RAM, and I know use the way as below:(MPC5748G on Power PC V1.2)

 

      uint32_t __attribute__ ((section(".data"))) var = 0;

      

      But now I have a lot of variables , so how ‘’__attribute__ ’ all variables at once, Thanks.

 

      Best regards.

Outcomes