Crates.io | cargo-embassy |
lib.rs | cargo-embassy |
version | 0.3.1 |
source | src |
created_at | 2024-02-13 23:41:22.751072 |
updated_at | 2024-08-13 14:51:26.729832 |
description | Get up and running with Embassy in seconds. |
homepage | |
repository | https://github.com/AdinAck/cargo-embassy |
max_upload_size | |
id | 1139025 |
size | 135,695 |
Get up and running with Embassy in seconds.
Refer to the tracking issues for proposed changes.
This utility will also create the cargo project, so wherever you would normally run cargo new ...
, run:
cargo embassy init {project_name} args...
You can see how the init
command works with:
cargo embassy init --help
To run the project, use:
cargo run
...or to deploy the project without RTT:
cargo embed
defmt
can be removed for production deployments by disabling the "debug" feature with--no-default-features
.
Create a new Embassy project for the STM32G031K8:
cargo embassy init my_project --chip stm32g031k8
Create a new Embassy project for the NRF52840:
cargo embassy init my_project --chip nrf52840
Create a new Embassy project for the NRF52832_xxAA and Softdevice S132
cargo embassy init my_project --chip nrf52832_xxAA --softdevice s132
Create a new Embassy project for the ESP32S3
cargo embassy init my_project --chip esp32s3