aboutsummaryrefslogtreecommitdiff
path: root/embassy-boot-rp/Cargo.toml
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-01-11 18:55:59 +0100
committerDario Nieuwenhuis <[email protected]>2024-01-11 18:55:59 +0100
commite0775fbc8ab1ecc83bce42fe6e11accf481bc9e1 (patch)
tree3d5119500fbb8627829e54e6bc999c3689ab4a0f /embassy-boot-rp/Cargo.toml
parentb452a6bcf6858893a85882614e2dcde5a3405748 (diff)
Flatten embassy-boot dir tree
Diffstat (limited to 'embassy-boot-rp/Cargo.toml')
-rw-r--r--embassy-boot-rp/Cargo.toml79
1 files changed, 79 insertions, 0 deletions
diff --git a/embassy-boot-rp/Cargo.toml b/embassy-boot-rp/Cargo.toml
new file mode 100644
index 000000000..dacb27747
--- /dev/null
+++ b/embassy-boot-rp/Cargo.toml
@@ -0,0 +1,79 @@
1[package]
2edition = "2021"
3name = "embassy-boot-rp"
4version = "0.1.0"
5description = "Bootloader lib for RP2040 chips"
6license = "MIT OR Apache-2.0"
7repository = "https://github.com/embassy-rs/embassy"
8categories = [
9 "embedded",
10 "no-std",
11 "asynchronous",
12]
13
14[package.metadata.embassy_docs]
15src_base = "https://github.com/embassy-rs/embassy/blob/embassy-boot-rp-v$VERSION/src/"
16src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-boot-rp/src/"
17target = "thumbv6m-none-eabi"
18
19[lib]
20
21[dependencies]
22defmt = { version = "0.3", optional = true }
23defmt-rtt = { version = "0.4", optional = true }
24log = { version = "0.4", optional = true }
25
26embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
27embassy-rp = { version = "0.1.0", path = "../embassy-rp", default-features = false }
28embassy-boot = { version = "0.1.0", path = "../embassy-boot" }
29embassy-time = { version = "0.2.0", path = "../embassy-time" }
30
31cortex-m = { version = "0.7.6" }
32cortex-m-rt = { version = "0.7" }
33embedded-storage = "0.3.1"
34embedded-storage-async = { version = "0.4.1" }
35cfg-if = "1.0.0"
36
37[features]
38defmt = [
39 "dep:defmt",
40 "embassy-boot/defmt",
41 "embassy-rp/defmt",
42]
43log = [
44 "dep:log",
45 "embassy-boot/log",
46 "embassy-rp/log",
47]
48debug = ["defmt-rtt"]
49
50[profile.dev]
51debug = 2
52debug-assertions = true
53incremental = false
54opt-level = 'z'
55overflow-checks = true
56
57[profile.release]
58codegen-units = 1
59debug = 2
60debug-assertions = false
61incremental = false
62lto = 'fat'
63opt-level = 'z'
64overflow-checks = false
65
66# do not optimize proc-macro crates = faster builds from scratch
67[profile.dev.build-override]
68codegen-units = 8
69debug = false
70debug-assertions = false
71opt-level = 0
72overflow-checks = false
73
74[profile.release.build-override]
75codegen-units = 8
76debug = false
77debug-assertions = false
78opt-level = 0
79overflow-checks = false