More clarifications
This commit is contained in:
+4
-2
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user