Add an on-device test suite

This commit is contained in:
Jonas Schievink
2020-08-31 18:20:48 +02:00
parent 8650c1f517
commit 01ecb349d0
3 changed files with 64 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#![no_std]
#![no_main]
use cortex_m_rt::entry;
use {{project-name}} as _; // memory layout + panic handler
#[entry]
fn main() -> ! {
assert!(false, "TODO: Write actual tests");
{{project-name}}::exit();
}