diff options
| author | Nathan Perry <np@nathanperry.dev> | 2024-09-12 04:14:22 -0400 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2024-09-12 04:14:28 -0400 |
| commit | df3afac081acea1cb8fd081dfd935973a9eaeed6 (patch) | |
| tree | b6de9b6ab3881c7a14f607c69ff72fbc36791f71 /src | |
| parent | fa1c3226f0db6bcfb216db80e41840b48ae7610b (diff) | |
hopefully working
Diffstat (limited to 'src')
| -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(); +} |
