aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/eth.rs
diff options
context:
space:
mode:
authorBadr Bouslikhin <[email protected]>2023-12-05 19:48:03 +0100
committerBadr Bouslikhin <[email protected]>2023-12-05 19:48:03 +0100
commitd2a73229788c8776f822cfe9c6cac7c96d660cbd (patch)
tree4c3c91233fea64658742501f5e9567131ca3f33d /examples/stm32h7/src/bin/eth.rs
parent83bed7bca476a71da6cfbdb074fdd59862929750 (diff)
stm32/eth: fix h7 examples
The STM32H7 examples enable `dhcpv4` and `dns` features. Both use one socket, meaning that we need one extra socket for our firmware tcp socket.
Diffstat (limited to 'examples/stm32h7/src/bin/eth.rs')
-rw-r--r--examples/stm32h7/src/bin/eth.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32h7/src/bin/eth.rs b/examples/stm32h7/src/bin/eth.rs
index b7a077374..030c961eb 100644
--- a/examples/stm32h7/src/bin/eth.rs
+++ b/examples/stm32h7/src/bin/eth.rs
@@ -92,7 +92,7 @@ async fn main(spawner: Spawner) -> ! {
92 let stack = &*make_static!(Stack::new( 92 let stack = &*make_static!(Stack::new(
93 device, 93 device,
94 config, 94 config,
95 make_static!(StackResources::<2>::new()), 95 make_static!(StackResources::<3>::new()),
96 seed 96 seed
97 )); 97 ));
98 98