5 Replies Latest reply on Sep 17, 2020 6:49 AM by daivc_4063651

    Read variables directly from DCONST section in ROM area instead of coping them into INIT section in RAM area using F2MC-16FX Softune V3

    daivc_4063651

      Variables defined with const volatile type qualifier are linked to the DCONST section in ROM area.

      During start-up initialization these variables are copied into INIT section in RAM area from where the SW reads their values.

       

      My intention is to avoid coping the variables into INIT section in order to reduce the RAM memory usage.

      How can I make the SW to read variables directly from DCONST section and avoid allocation into RAM memory?