diff options
| author | xoviat <[email protected]> | 2025-11-19 16:14:23 -0600 |
|---|---|---|
| committer | xoviat <[email protected]> | 2025-11-19 16:14:23 -0600 |
| commit | 19e61543198e2d15fd4c7aef9377c8f40ae86ae0 (patch) | |
| tree | a6b558ad88cc8ace9559217d126b84f06e405614 /tests/stm32/src | |
| parent | 4104d114955be79cf419cb4cfb5c0e72b0abd261 (diff) | |
stm32: impl. low power test for stm32wb55
Diffstat (limited to 'tests/stm32/src')
| -rw-r--r-- | tests/stm32/src/bin/hsem.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/stm32/src/bin/hsem.rs b/tests/stm32/src/bin/hsem.rs index 19648997c..fa69f22b2 100644 --- a/tests/stm32/src/bin/hsem.rs +++ b/tests/stm32/src/bin/hsem.rs | |||
| @@ -30,6 +30,9 @@ async fn main(_spawner: Spawner) { | |||
| 30 | // | 30 | // |
| 31 | // hsem.channel_for(SemaphoreNumber::Channel5).unlock(0); | 31 | // hsem.channel_for(SemaphoreNumber::Channel5).unlock(0); |
| 32 | 32 | ||
| 33 | #[cfg(feature = "stm32wb55rg")] | ||
| 34 | let [_channel1, _channel2, mut channel5, _channel6] = hsem.split(); | ||
| 35 | #[cfg(not(feature = "stm32wb55rg"))] | ||
| 33 | let [_channel1, _channel2, _channel3, _channel4, mut channel5, _channel6] = hsem.split(); | 36 | let [_channel1, _channel2, _channel3, _channel4, mut channel5, _channel6] = hsem.split(); |
| 34 | 37 | ||
| 35 | info!("Locking channel 5"); | 38 | info!("Locking channel 5"); |
