macros and improvements

This commit is contained in:
2025-11-04 14:49:47 -07:00
parent dd26e3528b
commit 97639138a1
11 changed files with 87 additions and 70 deletions

View File

@@ -9,7 +9,6 @@ use abi::{
print,
};
use alloc::{format, string::String, vec, vec::Vec};
use core::panic::PanicInfo;
use embedded_graphics::{
Drawable,
geometry::{Dimensions, Point},
@@ -26,12 +25,6 @@ use embedded_layout::{
prelude::Chain,
};
#[panic_handler]
fn panic(info: &PanicInfo) -> ! {
print!("user panic: {} @ {:?}", info.message(), info.location(),);
loop {}
}
#[unsafe(no_mangle)]
pub extern "Rust" fn _start() {
main()