• How can it allocate the const variable in the end of code segment 1?
    • If you want to allocate the const variable in segment 1 or higher, qualify the const variable with __far.
      Also, when specifying the allocation address, be sure to separate the physical segment address and offset address with a colon (:).

      Example 1) When specifying an address with the Absolute pragma
      #pragma ABSOLUTE g_xxxx 0x1: 0xDFF0
      const uint32_t __far g_xxxx = 0x00000000;

      Example 2) When allocating to a segment with the SEGCONST pragma and specifying an address for that segment
      #pragma SEGCONST __far "rom1"
      const uint32_t __far g_xxxx = 0x00000000;
      In the Linker> Segment setting of LEIIDE-U16, specify (rom1-1: 0dff0h) for the TABLE address specification.

      Related Products: ML610(Q)40x, ML610(Q)42x, ML610(Q)47x, ML610(Q)48x, ML610Q10x, ML610Q11x, ML610Q17x, ML610Q30x, ML610Q35x, ML610Q36x, ML610Q38x, ML610Q41x, ML610Q43x, ML610Q46x, ML620Q13x, ML620Q15x, ML620Q416/ML620Q418, ML620Q503H/ML620Q504H/ML620Q506H, ML62Q12xx, ML62Q13xx, ML62Q14xx, ML62Q15xx/ML62Q18xx, ML62Q16xx, ML62Q17xx

    • Produkte: General-purpose MCUs (16bit) , Speech Playback MCUs (8bit)