Skip to content

soc: nxp_kinetis: Mark __kinetis_flash_config with __used attribute #90770

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

Merged
merged 1 commit into from
May 31, 2025

Conversation

mspeder
Copy link
Contributor

@mspeder mspeder commented May 28, 2025

This is a fix for issue #90426 .
Marking __kinetis_flash_config with __used attribute prevents unwanted deletion when compiling with LTO.

@github-actions github-actions bot added platform: NXP NXP size: XS A PR changing only a single line of code labels May 28, 2025
This is a fix for issue zephyrproject-rtos#90426 .
Marking __kinetis_flash_config  with __used attribute prevents
unwanted deletion when compiling with LTO.

Signed-off-by: Matthieu Speder <[email protected]>
@mspeder mspeder force-pushed the Fix90426 branch 2 times, most recently from b61ef67 to 8649a8b Compare May 29, 2025 13:50
Copy link

@kartben kartben linked an issue May 31, 2025 that may be closed by this pull request
@kartben kartben merged commit 66d90e7 into zephyrproject-rtos:main May 31, 2025
40 of 44 checks passed
Copy link

Hi @mspeder!
Congratulations on getting your very first Zephyr pull request merged 🎉🥳. This is a fantastic achievement, and we're thrilled to have you as part of our community!

To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge.

Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁

@mspeder mspeder deleted the Fix90426 branch May 31, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: NXP NXP size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LTO discards NXP Kinetis Flash Config
5 participants