Skip to content

Commit f061a36

Browse files
Merge pull request #64 from stm32-rs/smoltcp-extra-features
Remove unnecessary features that we enable for smoltcp
2 parents f725818 + 3efc931 commit f061a36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ defmt = { version = "0.3", optional = true }
3232
[dependencies.smoltcp]
3333
version = "0.8"
3434
default-features = false
35-
features = ["medium-ethernet", "proto-ipv4"]
3635
optional = true
3736

3837
[features]
@@ -75,6 +74,7 @@ cortex-m-rtic = "1.0"
7574
defmt-rtt = "0.4"
7675
panic-probe = { version = "0.3", features = [ "print-defmt" ] }
7776
systick-monotonic = "1.0"
77+
smoltcp = { version = "0.8", features = [ "medium-ethernet", "proto-ipv4", "socket-udp" ], default-features = false }
7878

7979
[[example]]
8080
name = "pktgen"

src/smoltcp_phy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use smoltcp::phy::{ChecksumCapabilities, Device, DeviceCapabilities, RxToken, Tx
44
use smoltcp::time::Instant;
55
use smoltcp::Error;
66

7-
/// Use this Ethernet driver with [smoltcp](https://github.com/m-labs/smoltcp)
7+
/// Use this Ethernet driver with [smoltcp](https://github.com/smoltcp-rs/smoltcp)
88
impl<'a, 'rx, 'tx, 'b> Device<'a> for &'b mut EthernetDMA<'rx, 'tx> {
99
type RxToken = EthRxToken<'a>;
1010
type TxToken = EthTxToken<'a>;

0 commit comments

Comments
 (0)