aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rp/Cargo.toml2
-rw-r--r--tests/stm32/Cargo.toml2
-rw-r--r--tests/stm32/src/bin/usart.rs8
-rw-r--r--tests/stm32/src/bin/usart_dma.rs8
4 files changed, 4 insertions, 16 deletions
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml
index 8740cc488..4d6877ccd 100644
--- a/tests/rp/Cargo.toml
+++ b/tests/rp/Cargo.toml
@@ -4,7 +4,7 @@ name = "embassy-rp-tests"
4version = "0.1.0" 4version = "0.1.0"
5 5
6[dependencies] 6[dependencies]
7embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["defmt"] } 7embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
8embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] } 8embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] }
9embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt"] } 9embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt"] }
10embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightly", "defmt", "unstable-pac", "unstable-traits"] } 10embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightly", "defmt", "unstable-pac", "unstable-traits"] }
diff --git a/tests/stm32/Cargo.toml b/tests/stm32/Cargo.toml
index 1d12995a2..f1441d00c 100644
--- a/tests/stm32/Cargo.toml
+++ b/tests/stm32/Cargo.toml
@@ -13,7 +13,7 @@ stm32wb55rg = ["embassy-stm32/stm32wb55rg"] # Nucleo
13stm32u585ai = ["embassy-stm32/stm32u585ai"] # IoT board 13stm32u585ai = ["embassy-stm32/stm32u585ai"] # IoT board
14 14
15[dependencies] 15[dependencies]
16embassy-util = { version = "0.1.0", path = "../../embassy-util", features = ["defmt"] } 16embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["defmt"] }
17embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] } 17embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] }
18embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "tick-32768hz"] } 18embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "tick-32768hz"] }
19embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-tim2"] } 19embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "unstable-pac", "memory-x", "time-driver-tim2"] }
diff --git a/tests/stm32/src/bin/usart.rs b/tests/stm32/src/bin/usart.rs
index fb4b3fcca..7673bfe6d 100644
--- a/tests/stm32/src/bin/usart.rs
+++ b/tests/stm32/src/bin/usart.rs
@@ -15,12 +15,6 @@ async fn main(_spawner: Spawner) {
15 let p = embassy_stm32::init(config()); 15 let p = embassy_stm32::init(config());
16 info!("Hello World!"); 16 info!("Hello World!");
17 17
18 #[cfg(feature = "stm32wb55rg")]
19 {
20 info!("Test SKIPPED");
21 cortex_m::asm::bkpt();
22 }
23
24 // Arduino pins D0 and D1 18 // Arduino pins D0 and D1
25 // They're connected together with a 1K resistor. 19 // They're connected together with a 1K resistor.
26 #[cfg(feature = "stm32f103c8")] 20 #[cfg(feature = "stm32f103c8")]
@@ -32,7 +26,7 @@ async fn main(_spawner: Spawner) {
32 #[cfg(feature = "stm32f429zi")] 26 #[cfg(feature = "stm32f429zi")]
33 let (tx, rx, usart) = (p.PG14, p.PG9, p.USART6); 27 let (tx, rx, usart) = (p.PG14, p.PG9, p.USART6);
34 #[cfg(feature = "stm32wb55rg")] 28 #[cfg(feature = "stm32wb55rg")]
35 let (tx, rx, usart) = (p.PA9, p.PA10, p.USART1); // TODO this is wrong 29 let (tx, rx, usart) = (p.PA2, p.PA3, p.LPUART1);
36 #[cfg(feature = "stm32h755zi")] 30 #[cfg(feature = "stm32h755zi")]
37 let (tx, rx, usart) = (p.PB6, p.PB7, p.USART1); 31 let (tx, rx, usart) = (p.PB6, p.PB7, p.USART1);
38 #[cfg(feature = "stm32u585ai")] 32 #[cfg(feature = "stm32u585ai")]
diff --git a/tests/stm32/src/bin/usart_dma.rs b/tests/stm32/src/bin/usart_dma.rs
index 09382a022..e0389446f 100644
--- a/tests/stm32/src/bin/usart_dma.rs
+++ b/tests/stm32/src/bin/usart_dma.rs
@@ -14,12 +14,6 @@ async fn main(_spawner: Spawner) {
14 let p = embassy_stm32::init(config()); 14 let p = embassy_stm32::init(config());
15 info!("Hello World!"); 15 info!("Hello World!");
16 16
17 #[cfg(feature = "stm32wb55rg")]
18 {
19 info!("Test SKIPPED");
20 cortex_m::asm::bkpt();
21 }
22
23 // Arduino pins D0 and D1 17 // Arduino pins D0 and D1
24 // They're connected together with a 1K resistor. 18 // They're connected together with a 1K resistor.
25 #[cfg(feature = "stm32f103c8")] 19 #[cfg(feature = "stm32f103c8")]
@@ -31,7 +25,7 @@ async fn main(_spawner: Spawner) {
31 #[cfg(feature = "stm32f429zi")] 25 #[cfg(feature = "stm32f429zi")]
32 let (tx, rx, usart, tx_dma, rx_dma) = (p.PG14, p.PG9, p.USART6, p.DMA2_CH6, p.DMA2_CH1); 26 let (tx, rx, usart, tx_dma, rx_dma) = (p.PG14, p.PG9, p.USART6, p.DMA2_CH6, p.DMA2_CH1);
33 #[cfg(feature = "stm32wb55rg")] 27 #[cfg(feature = "stm32wb55rg")]
34 let (tx, rx, usart, tx_dma, rx_dma) = (p.PA9, p.PA10, p.USART1, p.DMA1_CH1, p.DMA1_CH2); // TODO this is wrong 28 let (tx, rx, usart, tx_dma, rx_dma) = (p.PA2, p.PA3, p.LPUART1, p.DMA1_CH1, p.DMA1_CH2);
35 #[cfg(feature = "stm32h755zi")] 29 #[cfg(feature = "stm32h755zi")]
36 let (tx, rx, usart, tx_dma, rx_dma) = (p.PB6, p.PB7, p.USART1, p.DMA1_CH0, p.DMA1_CH1); 30 let (tx, rx, usart, tx_dma, rx_dma) = (p.PB6, p.PB7, p.USART1, p.DMA1_CH0, p.DMA1_CH1);
37 #[cfg(feature = "stm32u585ai")] 31 #[cfg(feature = "stm32u585ai")]