mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
17 lines
776 B
Bash
Executable File
17 lines
776 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
# build for std
|
|
(cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp)
|
|
(cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,tcp,dhcpv4)
|
|
(cd embassy-net; cargo build --no-default-features --features log,medium-ip,tcp)
|
|
(cd embassy-net; cargo build --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4)
|
|
|
|
# build for embedded
|
|
(cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features log,medium-ethernet,medium-ip,tcp,dhcpv4)
|
|
(cd embassy-net; cargo build --target thumbv7em-none-eabi --no-default-features --features defmt,smoltcp/defmt,medium-ethernet,medium-ip,tcp,dhcpv4)
|
|
|
|
# build examples
|
|
(cd embassy-net-examples; cargo build)
|