Skip to content
Snippets Groups Projects
Commit 78774c45 authored by Alexandru RADOVICI's avatar Alexandru RADOVICI
Browse files

Merge branch 'genan.omer-main-patch-1f4c' into 'main'

Corecting the code. May adding the unwinding panics explications.

See merge request !50
parents 9f851dbc d40ec8a9
No related branches found
No related tags found
No related merge requests found
......@@ -863,6 +863,7 @@ When using `#![no_std]`, developers have to define their own panic handler.
use cortex_m_rt::entry;
use cortex_m_semihosting::hprintln;
use core::panic::PanicInfo;
#[entry]
fn main() -> ! {
......@@ -974,6 +975,7 @@ use cortex_m_rt::entry;
use defmt::{error, info};
// use RTT for defmt transport
use defmt_rtt as _;
use core::panic::PanicInfo;
#[entry]
fn main() -> ! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment