Skip to content

Commit 343e2fe

Browse files
Merge pull request #55 from datdenkikniet/dev_deps
Use dev-dependencies instead of feature-gated dependencies for rtic-echo-example
2 parents 825fd47 + e319913 commit 343e2fe

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@ stm32f1xx-hal = { version = "0.9", optional = true }
2626
ieee802_3_miim = { version = "0.7", optional = true }
2727
cortex-m = "0.7"
2828
log = { version = "0.4", optional = true }
29-
30-
# For rtic-echo
31-
cortex-m-rtic = { version = "1.0", optional = true }
3229
defmt = { version = "0.3", optional = true }
33-
defmt-rtt = { version = "0.3", optional = true }
34-
panic-probe = { version = "0.3", optional = true, features = [ "print-defmt" ] }
35-
systick-monotonic = { version = "1.0", optional = true }
36-
fugit = { version = "0.3", optional = true}
3730

3831
[dependencies.smoltcp]
3932
version = "0.8"
@@ -70,7 +63,7 @@ stm32f779 = ["stm32f7xx-hal/stm32f779", "device-selected", "fence"]
7063
smoltcp-phy = ["smoltcp"]
7164

7265
# Example features
73-
rtic-echo-example = [ "ieee802_3_miim", "cortex-m-rtic", "smoltcp-phy", "smoltcp/defmt", "smoltcp/medium-ethernet", "smoltcp/socket-tcp", "defmt", "defmt-rtt", "panic-probe", "systick-monotonic", "fugit" ]
66+
rtic-echo-example = [ "ieee802_3_miim", "defmt", "smoltcp-phy", "smoltcp/defmt", "smoltcp/medium-ethernet", "smoltcp/socket-tcp" ]
7467
rtic-echo-example-altpin = [ ]
7568

7669
[dev-dependencies]
@@ -79,6 +72,10 @@ cortex-m-rt = "0.7"
7972
panic-itm = "0.4"
8073
cortex-m-semihosting = "0.3"
8174
fugit = "0.3"
75+
cortex-m-rtic = "1.0"
76+
defmt-rtt = "0.3"
77+
panic-probe = { version = "0.3", features = [ "print-defmt" ] }
78+
systick-monotonic = "1.0"
8279

8380
[[example]]
8481
name = "pktgen"

0 commit comments

Comments
 (0)