More clarifications

This commit is contained in:
Emil Fresk
2022-07-02 20:09:29 +02:00
parent 750fb8b5d5
commit fb03cda302
4 changed files with 11 additions and 7 deletions
+4 -2
View File
@@ -3,8 +3,10 @@
use {{crate_name}} as _; // global logger + panicking-behavior + memory layout
// TODO: Replace `some_hal::pac` with the path to the PAC
#[rtic::app(device = some_hal::pac)]
#[rtic::app(
device = some_hal::pac, // TODO: Replace `some_hal::pac` with the path to the PAC
dispatchers = [FreeInterrupt1, ...] // TODO: Replace the `FreeInterrupt1, ...` with free interrupt vectors if software tasks are used
)]
mod app {
// TODO: Add a monotonic if scheduling will be used
// #[monotonic(binds = SysTick, default = true)]
+2 -2
View File
@@ -3,9 +3,9 @@
use core::sync::atomic::{AtomicUsize, Ordering};
use defmt_rtt as _; // global logger
// TODO(5) adjust HAL import
// use some_hal as _; // memory layout
// TODO adjust HAL import
// use some_hal as _; // memory layout
use panic_probe as _;
// same panicking *behavior* as `panic-probe` but doesn't print a panic message