-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (62 loc) · 2.51 KB
/
Cargo.toml
File metadata and controls
69 lines (62 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "nrfxlib-sys"
version = "3.0.3+3.0.2"
authors = [
"Jonathan 'theJPster' Pallant <github@thejpster.org.uk>",
"42 Technology Ltd <jonathan.pallant@42technology.com>",
"Dion Dokter <diondokter@gmail.com>",
]
edition = "2021"
description = "Rust bindings to the Nordic nRF91* Socket Library."
readme = "README.md"
license-file = "LICENCE.md"
repository = "https://github.com/nrf-rs/nrfxlib-sys"
# The nrfxlib folder is quite large, so only include the pieces we need
include = [
"src/**",
"include/**",
"build.rs",
"wrapper.h",
"*.md",
"third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9160/hard-float/libmodem.a",
"third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9160/hard-float/libmodem_log.a",
"third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9120/hard-float/libmodem.a",
"third_party/nordic/nrfxlib/nrf_modem/lib/cellular/nrf9120/hard-float/libmodem_log.a",
"third_party/nordic/nrfxlib/nrf_modem/lib/dect_phy/nrf9120/hard-float/libmodem.a",
"third_party/nordic/nrfxlib/nrf_modem/lib/dect_phy/nrf9120/hard-float/libmodem_log.a",
"third_party/nordic/nrfxlib/nrf_modem/include/**",
"third_party/nordic/nrfxlib/nrf_modem/license.txt",
"third_party/nordic/nrfxlib/nrf_modem/README.rst",
"third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/include/**",
"third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/license.txt",
"third_party/nordic/nrfxlib/crypto/nrf_cc310_platform/lib/cortex-m33/hard-float/no-interrupts/libnrf_cc310_platform_0.9.19.a",
"third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/include/**",
"third_party/nordic/nrfxlib/crypto/nrf_cc310_mbedcrypto/license.txt",
"third_party/nordic/nrfxlib/crypto/nrf_oberon/lib/cortex-m33/hard-float/**",
"third_party/nordic/nrfxlib/crypto/nrf_oberon/include/**",
"third_party/nordic/nrfxlib/crypto/nrf_oberon/license.txt",
]
[package.metadata.docs.rs]
features = ["nrf9160"]
[dependencies]
[build-dependencies]
regex = "1"
bindgen = "0.70"
llvm-tools = { version = "0.1.1", optional = true }
[features]
default = ["llvm-objcopy"]
arm-none-eabi-objcopy = []
llvm-objcopy = ["dep:llvm-tools"]
log = []
## Links the DECT modem library
##
## This exposes the same set of headers, but internally uses a different
## libmodem.a library, which is used with considerable differences. Note that
## using this also requires using an alternative radio core firmware, which is
## not shipped in crates.
dect = []
nrf9160 = []
nrf9151 = ["nrf9120"]
nrf9161 = ["nrf9120"]
# The nrf9120 is the part number of the SoC internal to the nrf9151 and nrf9161 SiPs
nrf9120 = []