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