diff options
| author | Ulf Lilleengen <[email protected]> | 2023-01-24 09:57:26 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2023-01-24 10:25:37 +0100 |
| commit | 2a0ea52878ece15fa12c9d70da32b5809aa1e713 (patch) | |
| tree | a1829fdb10b292e46a6cce8f711e9671d5a600ce | |
| parent | 5ee8626d72d10082c741f26aa749c46f58e7e30d (diff) | |
add missing copy of icmpv6 checksum
add proto-ipv6 feature to stm32h7 example to catch issues in CI
| -rw-r--r-- | embassy-net/src/device.rs | 4 | ||||
| -rw-r--r-- | examples/stm32h7/Cargo.toml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/embassy-net/src/device.rs b/embassy-net/src/device.rs index 650af23b8..5daa00544 100644 --- a/embassy-net/src/device.rs +++ b/embassy-net/src/device.rs | |||
| @@ -60,6 +60,10 @@ where | |||
| 60 | smolcaps.checksum.tcp = convert(caps.checksum.tcp); | 60 | smolcaps.checksum.tcp = convert(caps.checksum.tcp); |
| 61 | smolcaps.checksum.udp = convert(caps.checksum.udp); | 61 | smolcaps.checksum.udp = convert(caps.checksum.udp); |
| 62 | smolcaps.checksum.icmpv4 = convert(caps.checksum.icmpv4); | 62 | smolcaps.checksum.icmpv4 = convert(caps.checksum.icmpv4); |
| 63 | #[cfg(feature = "proto-ipv6")] | ||
| 64 | { | ||
| 65 | smolcaps.checksum.icmpv6 = convert(caps.checksum.icmpv6); | ||
| 66 | } | ||
| 63 | 67 | ||
| 64 | smolcaps | 68 | smolcaps |
| 65 | } | 69 | } |
diff --git a/examples/stm32h7/Cargo.toml b/examples/stm32h7/Cargo.toml index ff38440a7..bcf976416 100644 --- a/examples/stm32h7/Cargo.toml +++ b/examples/stm32h7/Cargo.toml | |||
| @@ -9,7 +9,7 @@ embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["de | |||
| 9 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] } | 9 | embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] } |
| 10 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } | 10 | embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt", "defmt-timestamp-uptime", "unstable-traits", "tick-hz-32_768"] } |
| 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32h743bi", "time-driver-any", "exti", "unstable-pac", "unstable-traits"] } | 11 | embassy-stm32 = { version = "0.1.0", path = "../../embassy-stm32", features = ["nightly", "defmt", "stm32h743bi", "time-driver-any", "exti", "unstable-pac", "unstable-traits"] } |
| 12 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "unstable-traits"] } | 12 | embassy-net = { path = "../../embassy-net", features = ["defmt", "nightly", "tcp", "dhcpv4", "medium-ethernet", "unstable-traits", "proto-ipv6"] } |
| 13 | embedded-io = { version = "0.4.0", features = ["async"] } | 13 | embedded-io = { version = "0.4.0", features = ["async"] } |
| 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } | 14 | embassy-usb = { version = "0.1.0", path = "../../embassy-usb", features = ["defmt"] } |
| 15 | 15 | ||
