2020-10-31 23:03:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2021-03-18 02:03:43 +01:00
|
|
|
cd $(dirname $0)
|
|
|
|
|
2021-03-18 20:59:31 +01:00
|
|
|
cargo fmt --all -- --check
|
|
|
|
|
2020-12-14 00:36:29 +01:00
|
|
|
# embassy std
|
2021-02-03 05:05:05 +01:00
|
|
|
(cd embassy-std-examples; cargo build)
|
2020-12-14 00:36:29 +01:00
|
|
|
|
|
|
|
# embassy embedded
|
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)
|
2021-03-04 21:40:54 +01:00
|
|
|
(cd embassy; cargo build --target thumbv6m-none-eabi --features defmt)
|
2020-11-01 17:17:24 +01:00
|
|
|
|
|
|
|
# embassy-nrf
|
2021-01-01 22:41:59 +01:00
|
|
|
|
|
|
|
(cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins)
|
|
|
|
|
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
|
|
|
|
2021-01-14 00:53:05 +01:00
|
|
|
# embassy-stm32f4
|
|
|
|
|
2021-03-19 02:23:09 +01:00
|
|
|
(cd embassy-stm32f4-examples; cargo build --target thumbv7em-none-eabi --bins --features stm32f405)
|
2021-01-14 00:53:05 +01:00
|
|
|
(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405)
|
|
|
|
(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405,defmt)
|
2021-03-09 16:22:03 +01:00
|
|
|
|
|
|
|
# embassy-stm32l0
|
|
|
|
|
|
|
|
(cd embassy-stm32l0; cargo build --target thumbv6m-none-eabi --features stm32l0x2)
|
|
|
|
(cd embassy-stm32l0; cargo build --target thumbv6m-none-eabi --features stm32l0x2,defmt)
|