aboutsummaryrefslogtreecommitdiff
path: root/test-build.sh
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2020-11-01 17:17:24 +0100
committerDario Nieuwenhuis <[email protected]>2020-11-01 17:17:24 +0100
commit5e8608c7a5b1e4e92f1fb650ea0ef47e5a6df563 (patch)
treef731a0329d92d8fae4168957f8e90716b58ad00b /test-build.sh
parent2c13e251849fd3e3cf06e2d5363c311ac880c77d (diff)
Make defmt optional with new `anyfmt` crate
Diffstat (limited to 'test-build.sh')
-rwxr-xr-xtest-build.sh26
1 files changed, 16 insertions, 10 deletions
diff --git a/test-build.sh b/test-build.sh
index 8c93484d2..0b905e2cc 100755
--- a/test-build.sh
+++ b/test-build.sh
@@ -2,13 +2,19 @@
2 2
3set -euxo pipefail 3set -euxo pipefail
4 4
5cargo build --target thumbv7em-none-eabihf -p embassy-examples --bins 5# examples
6cargo build --target thumbv7em-none-eabihf -p embassy 6(cd examples; cargo build --target thumbv7em-none-eabihf --bins)
7 7
8# Build with all feature combinations 8# embassy
9cd embassy-nrf 9(cd embassy; cargo build --target thumbv7em-none-eabihf)
10cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52810 10(cd embassy; cargo build --target thumbv7em-none-eabihf --features defmt,anyfmt/defmt)
11#cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52811 # nrf52811-hal doesn't exist yet 11(cd embassy; cargo build --target thumbv7em-none-eabihf --features anyfmt/log)
12cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52832 12
13cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52833 13# embassy-nrf
14cargo build --target thumbv7em-none-eabihf -p embassy-nrf --features 52840 14(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52810)
15#(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52811) # nrf52811-hal doesn't exist yet
16(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52832)
17(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52833)
18(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840)
19
20(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,defmt,embassy/defmt,anyfmt/defmt)