Data Relocation to Internal Flash Partitions #53655
Unanswered
vipulkute-eaton
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to assign the image array of 472KB defined in file to internal flash partitions "image-1" (as per Zephyr.dts file, Physical address - 0x8100000). Tried allocating the array to flash partition using #pragma or attribute directives but could not be able to make it work.
const unsigned char web2_bin[] attribute( ( section( "image-1" ) ) )= { DATA }; // DATA - assume hex data image
Gone through below link which only talk about Relocating the Code / Data to SRAM memory region.
https://docs.zephyrproject.org/latest/kernel/code-relocation.html
Is there any way to relocate or assign the array defined in file to specific flash partition?
Beta Was this translation helpful? Give feedback.
All reactions