1 Reply Latest reply on Oct 29, 2019 12:27 AM by GeonaP_26

    Section dimension

    RoCa_1222471

      I defined a Flash section in the scatter file (.ld) of my project:

       

         RomTrim (rx) : ORIGIN = 0x0003f800, LENGTH = 512

       

          .TrimClock : ALIGN (4)

          {

              KEEP(*(.TrimClock))

          } >RomTrim

       

       

      There's a predefined macro to calculate the number of bytes contained into a FLASH section?

       

      Thank you