Skip to content

Deprecate #[cortex_m_rt::pre_init]? #595

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

Open
romancardenas opened this issue May 5, 2025 · 1 comment
Open

Deprecate #[cortex_m_rt::pre_init]? #595

romancardenas opened this issue May 5, 2025 · 1 comment

Comments

@romancardenas
Copy link

The docs say that using cortex_m_rt::pre_init is deprecated, but the macro is not effectively deprecated. Maybe we should add something like:

#[deprecated(note = "Use global_asm! to define the __pre_init function instead")]
@therealprof
Copy link
Contributor

Makes sense to me.

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

No branches or pull requests

2 participants