Skip to content

Commit

Permalink
boards: nrf52840dk: remove tests
Browse files Browse the repository at this point in the history
These are now in the config board.
  • Loading branch information
bradjc committed Mar 6, 2024
1 parent dab324a commit 8368cbe
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 219 deletions.
18 changes: 0 additions & 18 deletions boards/nordic/nrf52840dk/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ use nrf52840::gpio::Pin;
use nrf52840::interrupt_service::Nrf52840DefaultPeripherals;
use nrf52_components::{UartChannel, UartPins};

#[allow(dead_code)]
mod test;

// The nRF52840DK LEDs (see back of board)
const LED1_PIN: Pin = Pin::P0_13;
const LED2_PIN: Pin = Pin::P0_14;
Expand Down Expand Up @@ -837,15 +834,6 @@ pub unsafe fn start() -> (

nrf52_components::NrfClockComponent::new(&base_peripherals.clock).finalize(());

//--------------------------------------------------------------------------
// TESTS
//--------------------------------------------------------------------------

// let alarm_test_component =
// components::test::multi_alarm_test::MultiAlarmTestComponent::new(&mux_alarm).finalize(
// components::multi_alarm_test_component_buf!(nrf52840::rtc::Rtc),
// );

//--------------------------------------------------------------------------
// USB EXAMPLES
//--------------------------------------------------------------------------
Expand Down Expand Up @@ -930,15 +918,9 @@ pub unsafe fn start() -> (
let _ = platform.pconsole.start();
base_peripherals.adc.calibrate();

// test::aes_test::run_aes128_ctr(&base_peripherals.ecb);
// test::aes_test::run_aes128_cbc(&base_peripherals.ecb);
// test::aes_test::run_aes128_ecb(&base_peripherals.ecb);

debug!("Initialization complete. Entering main loop\r");
debug!("{}", &nrf52840::ficr::FICR_INSTANCE);

// alarm_test_component.run();

// These symbols are defined in the linker script.
extern "C" {
/// Beginning of the ROM region containing app images.
Expand Down
95 changes: 0 additions & 95 deletions boards/nordic/nrf52840dk/src/test/aes_test.rs

This file was deleted.

59 changes: 0 additions & 59 deletions boards/nordic/nrf52840dk/src/test/hmac_sha256_test.rs

This file was deleted.

7 changes: 0 additions & 7 deletions boards/nordic/nrf52840dk/src/test/mod.rs

This file was deleted.

40 changes: 0 additions & 40 deletions boards/nordic/nrf52840dk/src/test/siphash24_test.rs

This file was deleted.

0 comments on commit 8368cbe

Please sign in to comment.