Skip to content

Conversation

adamkondraciuk
Copy link
Contributor

MCUBOOT requires LTO to be enabled, while using code relocation forces switching it off. When __ramfunc is used, LTO can also be used. Then the cache_retain_and_sleep function will work correctly, but slightly slower.

MCUBOOT requires LTO to be enabled, while using code relocation
forces switching it off. When `__ramfunc` is used, LTO can also
be used. Then the `cache_retain_and_sleep` function will work
correctly, but slightly slower.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
Copy link

sonarqubecloud bot commented Oct 7, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants