Skip to content

NXP RT1020 data_copy_xip_relocation missing #73717

Answered by jacob-wienecke-nxp
Harija4 asked this question in Q&A
Discussion options

You must be logged in to vote

The two functions, bss_zeroing_relocation, data_copy_xip_relocation are used for to relocating memory to a region other than the default. They are not included unless CONFIG_CODE_DATA_RELOCATION is enabled. The APIs to relocate Code and Data are part of Zephyr's Code and Data Relocation feature.

Based on the output provided, it seems likely to me that you have CONFIG_CODE_DATA_RELOCATION=y in your app.

To replicate the issue, I build the hello_world sample application using zephyr v3.6.0. Without CONFIG_CODE_DATA_RELOCATION=y in the app, the hello_world sample builds without issues. When I add CONFIG_CODE_DATA_RELOCATION=y within prj.conf and try to build, I get a linker error. This is be…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DerekSnell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants