mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
21 lines
570 B
Bash
Executable File
21 lines
570 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
export DEFMT_LOG=trace
|
|
|
|
# build examples
|
|
#==================
|
|
|
|
(cd examples/rpi-pico-w; WIFI_NETWORK=foo WIFI_PASSWORD=bar cargo build --release)
|
|
|
|
|
|
# build with log/defmt combinations
|
|
#=====================================
|
|
|
|
cargo build --target thumbv6m-none-eabi --features ''
|
|
cargo build --target thumbv6m-none-eabi --features 'log'
|
|
cargo build --target thumbv6m-none-eabi --features 'defmt'
|
|
cargo build --target thumbv6m-none-eabi --features 'log,firmware-logs'
|
|
cargo build --target thumbv6m-none-eabi --features 'defmt,firmware-logs'
|