diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-15 20:38:55 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-15 20:38:55 +0200 |
commit | a0467c55b09c4b48f4f5a428f6ba56734804b638 (patch) | |
tree | 2ea38613c2989db2396c01d4f3a08ede5677d4c0 /nrf-softdevice/Cargo.toml | |
parent | ab0ad770c729b4f034bf0a085b50347a3e6b2ea9 (diff) | |
download | nrf-softdevice-a0467c55b09c4b48f4f5a428f6ba56734804b638.zip |
Add docserver metadata.
Diffstat (limited to 'nrf-softdevice/Cargo.toml')
-rw-r--r-- | nrf-softdevice/Cargo.toml | 16 |
1 files changed, 14 insertions, 2 deletions
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"] }, +] |