AnsweredAssumed Answered

Is it possible to declare in the CCM memory a structure?

Question asked by prieur.jean on Jan 28, 2016
Latest reply on Feb 1, 2016 by Clive One
Hello everybody,

I often declare my variables in the CCM memory, very useful as I use a lot of RAM memory.

For example I can declare this variable:
static uint8_t VARIABLE __attribute__ ((section(".ccm")));

Is it possible to declare a structure like this in the CCM:
struct Pyramid_Core {
    uint8_t VARIABLE1;
    bool_t VARIABLE2;
    A_typedef_enum VARIABLE3;
    A_pointer* VARIABLE4;
    uint16_t VARIABLE6;
    uint64_t VARIABLE7;
};

Thanks a lot for your help! It will help to save a lot of RAM memory, my structure handles a lot of variables...

Outcomes