feat: add ui test

This commit is contained in:
Oleksandr Babak 2025-05-15 15:00:23 +02:00 committed by Emil Fresk
parent 5a2acec442
commit a1eb285cac

18
rtic/ui/custom_section.rs Normal file
View file

@ -0,0 +1,18 @@
#![no_main]
#[rtic::app(device = lm3s6965)]
mod app {
#[shared]
struct Shared {
#[link_section = ".custom_section"]
foo: (),
}
#[local]
struct Local {}
#[init]
fn init(_cx: init::Context) -> (Shared, Local) {
(Shared { foo: () }, Local {})
}
}