You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every example declares its own #[panic_handler] function.
When I use only panic_semihosting crate, I get an error stating:
= note: arm-none-eabi-ld: /home/pi/.rustup/toolchains/nightly-armv7-unknown-linux-gnueabihf/lib/rustlib/thumbv7m-none-eabi/lib/libcore-c83b634e1f0ecbbe.rlib(core-c83b634e1f0ecbbe.core.2smtzb3g-cgu.0.rcgu.o): in function `core::panicking::panic_fmt':
/rustc/043eca7f0b34d12e61c44206beca740628647080//library/core/src/panicking.rs:85: undefined reference to `rust_begin_unwind'
If I use both on the same time, I obviously get the duplicate error.
Right now, I have only been able to succeed with self-decleared panic-handler function.
The text was updated successfully, but these errors were encountered:
Every example declares its own
#[panic_handler]
function.When I use only
panic_semihosting
crate, I get an error stating:If I use both on the same time, I obviously get the duplicate error.
Right now, I have only been able to succeed with self-decleared
panic-handler
function.The text was updated successfully, but these errors were encountered: