Skip to content
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

v0.4.0 - feature cortex-m not available #33

Closed
kolbma opened this issue Mar 4, 2023 · 2 comments · Fixed by #40
Closed

v0.4.0 - feature cortex-m not available #33

kolbma opened this issue Mar 4, 2023 · 2 comments · Fixed by #40

Comments

@kolbma
Copy link

kolbma commented Mar 4, 2023

You have removed the features (e.g. cortex-m) in the new version, but you are checking for with cfg in code for it:

#[cfg(any(feature = "cortex-m", feature = "riscv"))]
#[macro_export]
macro_rules! debug_rtt_init_print {
($($arg:tt)*) => (if cfg!(debug_assertions) { $crate::rtt_init_print!($($arg)*); })
}

@werediver
Copy link

werediver commented Mar 31, 2023

This issue renders "rtt-target" v0.4.0 (the latest at the moment) unusable, at least on Cortex-M targets 😞

Also notice that v0.4.0 declares no feature-flags at all: https://docs.rs/crate/rtt-target/0.4.0/features

@nickmertin
Copy link

I am having this issue as well. Attempting to build a binary against it results in linker errors for undefined symbols _critical_section_1_0_acquire and _critical_section_1_0_release.

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

Successfully merging a pull request may close this issue.

3 participants