Skip to content

Commit

Permalink
Examples and test cleanup (#1590)
Browse files Browse the repository at this point in the history
* initial cull of examples

* Remove direct vector example, replace with interrupt latency test

* Remove clock monitor in favour of just a test
  • Loading branch information
MabezDev authored May 28, 2024
1 parent 06bf505 commit db39d01
Show file tree
Hide file tree
Showing 21 changed files with 131 additions and 2,371 deletions.
82 changes: 0 additions & 82 deletions examples/src/bin/aes.rs

This file was deleted.

117 changes: 0 additions & 117 deletions examples/src/bin/aes_dma.rs

This file was deleted.

2 changes: 0 additions & 2 deletions examples/src/bin/blinky.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ fn main() -> ! {
let io = Io::new(peripherals.GPIO, peripherals.IO_MUX);
let mut led = Output::new(io.pins.gpio0, Level::High);

// Initialize the Delay peripheral, and use it to toggle the LED state in a
// loop.
let delay = Delay::new(&clocks);

loop {
Expand Down
3 changes: 0 additions & 3 deletions examples/src/bin/blinky_erased_pins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ fn main() -> ! {

let button = AnyInput::new(button, Pull::Up);

// You can use `into` or `degrade`:
let mut pins = [led1, led2, led3];

// Initialize the `Delay` peripheral, and use it to toggle the LED state
// in a loop:
let delay = Delay::new(&clocks);

loop {
Expand Down
60 changes: 0 additions & 60 deletions examples/src/bin/clock_monitor.rs

This file was deleted.

96 changes: 0 additions & 96 deletions examples/src/bin/crc.rs

This file was deleted.

Loading

0 comments on commit db39d01

Please sign in to comment.