Skip to content

Commit 0e4b728

Browse files
datdenkiknietJohannes Draaijer
authored andcommitted
Remove arp-smoltcp example as it does the exact same thing as the arp example, just in a more
roundabout (and not super-relevant) manner
1 parent 042c9b4 commit 0e4b728

File tree

4 files changed

+2
-166
lines changed

4 files changed

+2
-166
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ jobs:
118118
strategy:
119119
matrix:
120120
example:
121-
- name: arp-smoltcp
122-
example: arp-smoltcp
123-
features: defmt,smoltcp-phy,smoltcp/socket-raw
124121
- name: arp
125122
example: arp
126123
features: defmt

Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ required-features = [
9090
name = "arp"
9191
required-features = [ "defmt" ]
9292

93-
[[example]]
94-
name = "arp-smoltcp"
95-
required-features = ["defmt", "smoltcp-phy", "smoltcp/socket-raw"]
96-
9793
[[example]]
9894
name = "rtic-echo"
9995
required-features = [ "rtic-echo-example" ]

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ Besides the feature selecting the correct MCU to be used when building and/or ru
105105

106106
| Example | Additional required features |
107107
| ------------- | ---------------------------------------------------- |
108-
| `arp-smoltcp` | `defmt,smoltcp-phy,smoltcp/socket-raw` |
109108
| `arp` | `defmt` |
110109
| `ip` | `defmt,smoltcp-phy,smoltcp/defmt,smoltcp/socket-tcp` |
111110
| `pktgen` | `defmt` |
@@ -121,10 +120,10 @@ Run the following command:
121120
cargo build --release --example <example> --features <MCU feature>,<additional required features> --target <MCU compilation target>
122121
```
123122

124-
For example, if we wish to build the `arp-smoltcp` example for an `stm32f429`, we should run the following command:
123+
For example, if we wish to build the `ip` example for an `stm32f429`, we should run the following command:
125124

126125
```bash
127-
cargo build --release --example arp-smoltcp --features stm32f429,smoltcp-phy,smoltcp/socket-tcp --target thumbv7em-none-eabihf
126+
cargo build --release --example ip --features stm32f429,defmt,smoltcp-phy,smoltcp/defmt,smoltcp/socket-tcp --target thumbv7em-none-eabihf
128127
```
129128

130129
### Running examples

examples/arp-smoltcp.rs

Lines changed: 0 additions & 156 deletions
This file was deleted.

0 commit comments

Comments
 (0)