diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-04-12 21:00:23 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-04-12 21:00:23 +0200 |
| commit | 4f528d8fae0c57fad5c5a57f5a61fd0fc4435044 (patch) | |
| tree | b3f135aa2f35a2038726fa013c56351fba2b7a20 /ci.sh | |
| parent | 28c235d7866f2a0defaf235270ade6dbee10fc9e (diff) | |
Add medium-ip, medium-ethernet Cargo features
Diffstat (limited to 'ci.sh')
| -rwxr-xr-x | ci.sh | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -3,11 +3,14 @@ | |||
| 3 | set -euxo pipefail | 3 | set -euxo pipefail |
| 4 | 4 | ||
| 5 | # build for std | 5 | # build for std |
| 6 | (cd embassy-net; cargo build --features log) | 6 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp) |
| 7 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp,dhcpv4) | ||
| 8 | (cd embassy-net; cargo build --no-default-features --features log,medium-ip,tcp) | ||
| 9 | (cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4) | ||
| 7 | 10 | ||
| 8 | # build for embedded | 11 | # build for embedded |
| 9 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --features log) | 12 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4) |
| 10 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --features defmt,smoltcp/defmt) | 13 | (cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features defmt,smoltcp/defmt,medium-ethernet,medium-ip,tcp,dhcpv4) |
| 11 | 14 | ||
| 12 | # build examples | 15 | # build examples |
| 13 | (cd embassy-net-examples; cargo build) | 16 | (cd embassy-net-examples; cargo build) |
