-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linker: Generate snippets files for dtcm and itcm #66254
linker: Generate snippets files for dtcm and itcm #66254
Conversation
any opinions, @fkokosinski or any of the other reviewers? |
bcf088c
to
6cb242c
Compare
hi @tejlmand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much better.
a small nit.
6cb242c
to
b016e50
Compare
RISC-V changes LGTM. Not giving an ACK though because there are failed tests reported by the CI, although they are not reproducible for me, so I'm not sure if they're related to these changes. |
This allows to link code and data blocks, e.g. the vector table, into tightly coupled memory using `zephyr_linker_sources`. Signed-off-by: Greter Raffael <rgreter@baumer.com>
This tests whether there actually is an itcm or dtcm in the device tree. Otherwise a FATAL_ERROR is generated. Signed-off-by: Greter Raffael <rgreter@baumer.com>
b016e50
to
850abfe
Compare
I can't reproduce it either. I guess it's not related to this PR. I've only changed the cmake error message since the last successful CI run. |
@fkokosinski I've rebased the branch which triggered the CI again. Now it succeeded. So the failure was not caused by my changes. Could you approve the PR now? |
Yup, thanks for the ping. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RISC-V changes LGTM.
@tejlmand could I bother you again? I've addressed your nit |
This PR allows to link code and data blocks, e.g. the vector table, into the tightly coupled memory (itcm and dtcm, resp. ilm and dlm) using the cmake function
zephyr_linker_sources
.