2020-10-31 22:03:46 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2020-12-13 23:36:29 +00:00
|
|
|
# embassy std
|
2021-02-03 04:05:05 +00:00
|
|
|
(cd embassy-std-examples; cargo build)
|
2020-12-13 23:36:29 +00:00
|
|
|
|
|
|
|
# embassy embedded
|
2020-12-01 16:52:06 +00: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 16:17:24 +00:00
|
|
|
|
|
|
|
# embassy-nrf
|
2021-01-01 21:41:59 +00:00
|
|
|
|
|
|
|
(cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins)
|
|
|
|
|
2020-11-27 17:42:59 +00:00
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810)
|
2020-12-01 16:52:06 +00: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 16:17:24 +00:00
|
|
|
|
2020-12-01 16:52:06 +00: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 16:46:56 +00:00
|
|
|
|
2021-01-13 23:53:05 +00:00
|
|
|
# embassy-stm32f4
|
|
|
|
|
|
|
|
(cd embassy-stm32f4-examples; cargo build --target thumbv7em-none-eabi --bins)
|
|
|
|
(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405)
|
|
|
|
(cd embassy-stm32f4; cargo build --target thumbv7em-none-eabi --features stm32f405,defmt)
|