Placement of a structure at a specific address in flash #93606
Unanswered
vitaliy-livnov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following problem: I need my Zephyr application binary to contain a header required for a custom bootloader at a specific address in flash (0x8100), and the code itself with interrupt vectors to start at 0x8000. While I was able to move the application code using partitions, I was unable to place the header structure at a specific address without breaking anything in the build. I tried using a separate partition for this, as well as creating a linker file fragment with forced placement of the section at the desired address. But either conflicts arose or Zephyr OS ignored my addresses and placed sections "as it sees fit".
Please tell me if there is an adequate method for placing the structure at the desired address in flash? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions