Skip to content

Raspberry Pi Pico template with the Embassy framework

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

LechevSpace/embassy-pico-template

Repository files navigation

Embassy RP Pico template

sponsor-us

Setup

Use a debug probe like a second Raspberry Pi Pico running picoprobe.uf2 or Raspberry Pi Debug probe running debugprobe.uf2 (a CMSIS v2 compatible firmware).

Running

To run the firmware on the Pico you need to specify the target, disable default features and enable the firmware feature like so: cargo run --target thumbv6m-none-eabi --no-default-features -F firmware

Or use the provided alias in ./.cargo/config.toml:

cargo run-firmware

Logging

By default we use defmt for logging and include a variaty of macros for both log & defmt seemless integration in your project.

Use the DEFMT_LOG environment variable to set the necessary verbosity. DEFMT_LOG=info is the default which can be tweaked in ./.cargo/config.toml.

Testing

Run test as regular crate or project by using cargo test which will use your host target and the std feature (enabled by default)

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Raspberry Pi Pico template with the Embassy framework

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages