mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
aeaa34d7a1
- It's no longer possible to call run() reentrantly from within a task (soundness issue) - it's now possible to spawn Send tasks across threads (SendSpawner, #37)
31 lines
1.2 KiB
Bash
Executable File
31 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
# embassy std
|
|
#(cd embassy; cargo build --features log,std)
|
|
|
|
# embassy embedded
|
|
(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)
|
|
|
|
# embassy-nrf
|
|
|
|
(cd embassy-nrf-examples; cargo build --target thumbv7em-none-eabi --bins)
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52810)
|
|
#(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)
|
|
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,log)
|
|
(cd embassy-nrf; cargo build --target thumbv7em-none-eabi --features 52840,defmt)
|
|
|
|
# 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)
|