-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
52 lines (47 loc) · 1.69 KB
/
Cargo.toml
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
[package]
name = "nrfxlib-sys"
version = "2.7.1"
authors = [
"Jonathan 'theJPster' Pallant <[email protected]>",
"42 Technology Ltd <[email protected]>",
"Dion Dokter <[email protected]>",
]
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/nrf9120/hard-float/libmodem.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_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",
]
[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"]
nrf9160 = []
nrf9151 = ["nrf9120"]
nrf9161 = ["nrf9120"]
# The nrf9120 is the part number of the SoC internal to the nrf9151 and nrf9161 SiPs
nrf9120 = []