Skip to content
Discussion options

You must be logged in to vote

Yes it does. It was a bit tricky since the project doesn't compile on main but does compile fine in 4.3.0, 4.2.1 and 4.2.0.
I've removed my linker script and applied your fix to 4.3.0 and then compiled with and without:
CONFIG_CODE_DATA_RELOCATION=y

zephyr_code_relocate(LIBRARY drivers__ethernet LOCATION SRAM3_DATA_BSS_NOINIT)
zephyr_code_relocate(LIBRARY subsys__net__ip LOCATION SRAM3_DATA_BSS_NOINIT)

And here's the diff:

26c26
<         │   │   │   ├── _k_fifo_buf_event_msgq                                                    440   0.24%  0x20016280 noinit
---
>         │   │   │   ├── _k_fifo_buf_event_msgq                                                    440   0.24%  0x20055ce0 .sra…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jukkar
Comment options

jukkar Nov 17, 2025
Collaborator

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ernestguillem
Comment options

Comment options

You must be logged in to vote
1 reply
@ernestguillem
Comment options

Answer selected by mrjimenez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants