From 9f12852c389d65a8b2e252e027f69dfef2383736 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 15 Aug 2025 15:30:14 +0200 Subject: Read crate configs from metadata. --- embassy-rp/Cargo.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'embassy-rp') diff --git a/embassy-rp/Cargo.toml b/embassy-rp/Cargo.toml index 7f2167f90..a5f84944e 100644 --- a/embassy-rp/Cargo.toml +++ b/embassy-rp/Cargo.toml @@ -9,6 +9,17 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"] repository = "https://github.com/embassy-rs/embassy" documentation = "https://docs.embassy.dev/embassy-rp" +[package.metadata.embassy] +build = [ + {target = "thumbv6m-none-eabi", features = ["defmt", "rp2040", "time-driver"]}, + {target = "thumbv6m-none-eabi", features = ["log", "rp2040", "time-driver"]}, + {target = "thumbv6m-none-eabi", features = ["intrinsics", "rp2040", "time-driver"]}, + {target = "thumbv6m-none-eabi", features = ["qspi-as-gpio", "rp2040", "time-driver"]}, + {target = "thumbv8m.main-none-eabihf", features = ["defmt", "rp235xa", "time-driver"]}, + {target = "thumbv8m.main-none-eabihf", features = ["log", "rp235xa", "time-driver"]}, + {target = "thumbv8m.main-none-eabihf", features = ["binary-info", "rp235xa", "time-driver"]}, +] + [package.metadata.embassy_docs] src_base = "https://github.com/embassy-rs/embassy/blob/embassy-rp-v$VERSION/embassy-rp/src/" src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-rp/src/" -- cgit