summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-08-15 20:38:55 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-08-15 20:38:55 +0200
commita0467c55b09c4b48f4f5a428f6ba56734804b638 (patch)
tree2ea38613c2989db2396c01d4f3a08ede5677d4c0
parentab0ad770c729b4f034bf0a085b50347a3e6b2ea9 (diff)
downloadnrf-softdevice-a0467c55b09c4b48f4f5a428f6ba56734804b638.zip
Add docserver metadata.
-rw-r--r--nrf-softdevice-mbr/Cargo.toml7
-rw-r--r--nrf-softdevice-s112/Cargo.toml7
-rw-r--r--nrf-softdevice-s113/Cargo.toml7
-rw-r--r--nrf-softdevice-s122/Cargo.toml7
-rw-r--r--nrf-softdevice-s132/Cargo.toml7
-rw-r--r--nrf-softdevice-s140/Cargo.toml7
-rw-r--r--nrf-softdevice/Cargo.toml16
7 files changed, 50 insertions, 8 deletions
diff --git a/nrf-softdevice-mbr/Cargo.toml b/nrf-softdevice-mbr/Cargo.toml
index f628831..312a032 100644
--- a/nrf-softdevice-mbr/Cargo.toml
+++ b/nrf-softdevice-mbr/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-mbr-v$VERSION/nrf-softdevice-mbr/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-mbr/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice-s112/Cargo.toml b/nrf-softdevice-s112/Cargo.toml
index d33f5e7..4986406 100644
--- a/nrf-softdevice-s112/Cargo.toml
+++ b/nrf-softdevice-s112/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-s112-v$VERSION/nrf-softdevice-s112/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-s112/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice-s113/Cargo.toml b/nrf-softdevice-s113/Cargo.toml
index 37092f3..6d7a3a4 100644
--- a/nrf-softdevice-s113/Cargo.toml
+++ b/nrf-softdevice-s113/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-s113-v$VERSION/nrf-softdevice-s113/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-s113/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice-s122/Cargo.toml b/nrf-softdevice-s122/Cargo.toml
index 834be57..d814079 100644
--- a/nrf-softdevice-s122/Cargo.toml
+++ b/nrf-softdevice-s122/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-s122-v$VERSION/nrf-softdevice-s122/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-s122/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice-s132/Cargo.toml b/nrf-softdevice-s132/Cargo.toml
index 85e99f7..f07cb77 100644
--- a/nrf-softdevice-s132/Cargo.toml
+++ b/nrf-softdevice-s132/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-s132-v$VERSION/nrf-softdevice-s132/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-s132/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice-s140/Cargo.toml b/nrf-softdevice-s140/Cargo.toml
index 6a1bafc..353f2c2 100644
--- a/nrf-softdevice-s140/Cargo.toml
+++ b/nrf-softdevice-s140/Cargo.toml
@@ -10,4 +10,9 @@ license-file = "LICENSE-NORDIC"
edition = "2021"
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
+targets = ["thumbv7em-none-eabi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-s140-v$VERSION/nrf-softdevice-s140/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-s140/src/"
+target = "thumbv7em-none-eabi"
diff --git a/nrf-softdevice/Cargo.toml b/nrf-softdevice/Cargo.toml
index 2d0b211..1c8f9ce 100644
--- a/nrf-softdevice/Cargo.toml
+++ b/nrf-softdevice/Cargo.toml
@@ -67,5 +67,17 @@ nrf-softdevice-s140 = { version = "0.1.1", path = "../nrf-softdevice-s140", opti
nrf-softdevice-macro = { version = "0.1.0", path = "../nrf-softdevice-macro" }
[package.metadata.docs.rs]
-targets = ["thumbv7em-none-eabihf"]
-features = ["nrf52840", "s140", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client"]
+targets = ["thumbv7em-none-eabi"]
+features = ["nrf52840", "s140", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi"]
+
+[package.metadata.embassy_docs]
+src_base = "https://github.com/embassy-rs/nrf-softdevice/blob/nrf-softdevice-mbr-v$VERSION/nrf-softdevice-mbr/src/"
+src_base_git = "https://github.com/embassy-rs/nrf-softdevice/blob/$COMMIT/nrf-softdevice-mbr/src/"
+target = "thumbv7em-none-eabi"
+flavors = [
+ { name = "s112", features = ["nrf52832", "s112", "ble-peripheral", "ble-gatt-server", "ble-gatt-client", "ble-rssi"] },
+ { name = "s113", features = ["nrf52840", "s113", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi"] },
+ { name = "s122", features = ["nrf52833", "s122", "ble-central", "ble-gatt-server", "ble-gatt-client", "ble-rssi"] },
+ { name = "s132", features = ["nrf52832", "s132", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi"] },
+ { name = "s140", features = ["nrf52840", "s140", "ble-central", "ble-peripheral", "ble-l2cap", "ble-gatt-server", "ble-gatt-client", "ble-rssi"] },
+]