Skip to content

Commit

Permalink
test-flip-link-app: use feature = "lm3s6965" instead of default
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed Jul 7, 2021
1 parent 72e74d3 commit ecd3599
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test-flip-link-app/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fn main() -> anyhow::Result<()> {
// include following if hal is excluded (aka. default features are disabled)
#[cfg(not(feature = "default"))]
#[cfg(not(feature = "lm3s6965"))]
{
use std::{env, fs::File, io::Write, path::PathBuf};

Expand Down
2 changes: 1 addition & 1 deletion test-flip-link-app/examples/crash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use core::ptr;

use cortex_m_rt::entry;
#[cfg(feature = "default")]
#[cfg(feature = "lm3s6965")]
use lm3s6965 as _;
use panic_semihosting as _;

Expand Down
2 changes: 1 addition & 1 deletion test-flip-link-app/examples/exception.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use cortex_m::{peripheral::syst::SystClkSource, Peripherals};
use cortex_m_rt::{entry, exception};
use cortex_m_semihosting::hprint;
#[cfg(feature = "default")]
#[cfg(feature = "lm3s6965")]
use lm3s6965 as _;
use panic_semihosting as _;

Expand Down
2 changes: 1 addition & 1 deletion test-flip-link-app/examples/hello.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

use cortex_m_rt::entry;
use cortex_m_semihosting::{debug, hprintln};
#[cfg(feature = "default")]
#[cfg(feature = "lm3s6965")]
use lm3s6965 as _;
use panic_semihosting as _;

Expand Down
2 changes: 1 addition & 1 deletion test-flip-link-app/examples/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![no_std]

use cortex_m_rt::entry;
#[cfg(feature = "default")]
#[cfg(feature = "lm3s6965")]
use lm3s6965 as _;
use panic_semihosting as _;

Expand Down

0 comments on commit ecd3599

Please sign in to comment.