https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118001

            Bug ID: 118001
           Summary: [avr] Support __flashx as 24-bit named address space
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gjl at gcc dot gnu.org
  Target Milestone: ---

Currently, __memx is the only address space that can read from any flash
address, and that supports reading across the 64 KiB flash segment boundaries.

Though __memx may also read from generic space / RAM which makes it more
complicated than required when it's known in advance that only flash locations
will be read.

This can be fixed by a new 24-bit address space __flashx that reads from any
program memory address.  __flashx objects should be allocated to .progmemx.data
so that it doesn't eat up the precious lower addresses from, say, progmem.data.

Reply via email to