refactor!: make the main code an empty lib

This commit is contained in:
cscherr 2025-04-28 11:53:38 +02:00
parent b5f4e77186
commit 7df4f90ae3
Signed by: cscherrNT
GPG key ID: 8E2B45BC51A27EA7
2 changed files with 1 additions and 12 deletions

1
src/lib.rs Executable file
View file

@ -0,0 +1 @@
#![no_std]

View file

@ -1,12 +0,0 @@
#![no_main]
#![no_std]
extern crate panic_halt;
use cortex_m_rt::entry;
use hal::{pac, prelude::*, rcc::Config};
#[entry]
fn main() -> ! {
compile_error!("Use blinky example")
}