Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 2.72 KB

README.md

File metadata and controls

42 lines (24 loc) · 2.72 KB

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.