3.3.3.3 How Do I Position A Variable Into An Address Range?
You need to move the variable into a unique section (psect), define a memory range and then place the new section in that range.
Use the __section()
specifier to have the variable
positioned in a new section. Use the -Wl
driver option to define a memory
range and to place the new section in that range. See 5.15.3 Changing and Linking the Allocated Section for
examples of all these operations.