This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Placing many arrays of consts at fixed address of Flash

I read some topics about placing a const to fixed address by linker. The method is to locate all section, isn't it?
My problem is to locate 7 arrays of const(predefined): a1[50]..a7[50]. I want to place a1[] at 0xC07D00, a2[] at 0xC07E00, a3[] at 0xC07F00 and etc. So, how i can do it?
Is it true that theese arrays will be united in NCONST class? Thanks!

Parents
  • If you have multiple arrays and they can exceed 64Kbytes in size (each) then you will have to change your memory type to "xhuge" basically giving you an unlimited size. But also note that this is less efficient than when using the DPP's (the "near" memory modifier uses the DPP's).

Reply
  • If you have multiple arrays and they can exceed 64Kbytes in size (each) then you will have to change your memory type to "xhuge" basically giving you an unlimited size. But also note that this is less efficient than when using the DPP's (the "near" memory modifier uses the DPP's).

Children