diff options
| author | Fabian Wolter <[email protected]> | 2025-08-14 19:41:00 +0200 |
|---|---|---|
| committer | Fabian Wolter <[email protected]> | 2025-08-14 19:41:00 +0200 |
| commit | 4c556dcbf23c0024766e78d5839ce3f717bbc0e9 (patch) | |
| tree | 17c28db6910cca7fa013da124bc1074710caef37 /tests/stm32 | |
| parent | f689cd10000d3c5d608907d52c686abcc6c0971f (diff) | |
stm32 tests: move can_common out of the bin folder
Diffstat (limited to 'tests/stm32')
| -rw-r--r-- | tests/stm32/src/bin/can.rs | 1 | ||||
| -rw-r--r-- | tests/stm32/src/bin/fdcan.rs | 1 | ||||
| -rw-r--r-- | tests/stm32/src/can_common.rs (renamed from tests/stm32/src/bin/can_common.rs) | 0 |
3 files changed, 2 insertions, 0 deletions
diff --git a/tests/stm32/src/bin/can.rs b/tests/stm32/src/bin/can.rs index 778d88a7b..348cd049d 100644 --- a/tests/stm32/src/bin/can.rs +++ b/tests/stm32/src/bin/can.rs | |||
| @@ -15,6 +15,7 @@ use embassy_stm32::peripherals::CAN1; | |||
| 15 | use embassy_time::Duration; | 15 | use embassy_time::Duration; |
| 16 | use {defmt_rtt as _, panic_probe as _}; | 16 | use {defmt_rtt as _, panic_probe as _}; |
| 17 | 17 | ||
| 18 | #[path = "../can_common.rs"] | ||
| 18 | mod can_common; | 19 | mod can_common; |
| 19 | use can_common::*; | 20 | use can_common::*; |
| 20 | 21 | ||
diff --git a/tests/stm32/src/bin/fdcan.rs b/tests/stm32/src/bin/fdcan.rs index 83d7eca85..c2a1a7bb8 100644 --- a/tests/stm32/src/bin/fdcan.rs +++ b/tests/stm32/src/bin/fdcan.rs | |||
| @@ -12,6 +12,7 @@ use embassy_stm32::{bind_interrupts, can, Config}; | |||
| 12 | use embassy_time::Duration; | 12 | use embassy_time::Duration; |
| 13 | use {defmt_rtt as _, panic_probe as _}; | 13 | use {defmt_rtt as _, panic_probe as _}; |
| 14 | 14 | ||
| 15 | #[path = "../can_common.rs"] | ||
| 15 | mod can_common; | 16 | mod can_common; |
| 16 | use can_common::*; | 17 | use can_common::*; |
| 17 | 18 | ||
diff --git a/tests/stm32/src/bin/can_common.rs b/tests/stm32/src/can_common.rs index 4e1740ad5..4e1740ad5 100644 --- a/tests/stm32/src/bin/can_common.rs +++ b/tests/stm32/src/can_common.rs | |||
