diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..ead8e00 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,17 @@ +#![no_std] +#![no_main] +#![feature(impl_trait_in_assoc_type)] + +use molybdos::genlog::defmt; +use molybdos::reexports::*; + +#[defmt::panic_handler] +fn panic() -> ! { + panic_probe::hard_fault(); +} + +#[embassy_executor::main] +async fn main(_spawner: embassy_executor::Spawner) { + genlog::info!("hello"); + molybdos::heap::init(); +} |
