Skip to content

Commit 1a2acb8

Browse files
authored
Merge pull request #70: Fix Broken Examples
2 parents a496153 + eee5b70 commit 1a2acb8

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
### Fixed
1919
- Examples now build and link again
20+
- Examples now build again again
2021
- [#62] Remove ambiguous reexports from `src/serial/mod.rs`.
2122
- TWIHS: Fix issue with clock frequency calculation.
2223
- Fix CI: source of PACs matrix + clippy satisfaction

boards/atsame70_xpro/examples/blinky_delay.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ mod app {
1414
use hal::ehal::digital::v2::ToggleableOutputPin;
1515
use hal::pio::*;
1616
use hal::rtt::*;
17+
use rtt_target::rtt_init_print;
1718

1819
#[shared]
1920
struct Shared {}
@@ -26,6 +27,7 @@ mod app {
2627

2728
#[init]
2829
fn init(ctx: init::Context) -> (Shared, Local, init::Monotonics) {
30+
rtt_init_print!();
2931
let clocks = Tokens::new(
3032
(ctx.device.PMC, ctx.device.SUPC, ctx.device.UTMI),
3133
&ctx.device.WDT.into(),

boards/atsame70_xpro/examples/blinky_irq.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ mod app {
1414
use hal::ehal::timer::CountDown;
1515
use hal::pio::*;
1616
use hal::rtt::*;
17+
use rtt_target::rtt_init_print;
1718

1819
#[shared]
1920
struct Shared {}
@@ -26,6 +27,7 @@ mod app {
2627

2728
#[init]
2829
fn init(ctx: init::Context) -> (Shared, Local, init::Monotonics) {
30+
rtt_init_print!();
2931
let clocks = Tokens::new(
3032
(ctx.device.PMC, ctx.device.SUPC, ctx.device.UTMI),
3133
&ctx.device.WDT.into(),

0 commit comments

Comments
 (0)