2020-10-31 23:03:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2020-11-01 17:17:24 +01:00
|
|
|
# examples
|
|
|
|
(cd examples; cargo build --target thumbv7em-none-eabihf --bins)
|
|
|
|
|
|
|
|
# embassy
|
|
|
|
(cd embassy; cargo build --target thumbv7em-none-eabihf)
|
|
|
|
(cd embassy; cargo build --target thumbv7em-none-eabihf --features defmt,anyfmt/defmt)
|
|
|
|
(cd embassy; cargo build --target thumbv7em-none-eabihf --features anyfmt/log)
|
|
|
|
|
|
|
|
# embassy-nrf
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52810)
|
|
|
|
#(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52811) # nrf52811-hal doesn't exist yet
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52832)
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52833)
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840)
|
|
|
|
|
2020-11-01 17:56:29 +01:00
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,anyfmt/log)
|
2020-11-01 17:17:24 +01:00
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabihf --features 52840,defmt,embassy/defmt,anyfmt/defmt)
|