forked from rapitag/da14531-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
88 lines (77 loc) · 1.98 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[package]
categories = [
"embedded",
"hardware-support",
"no-std",
]
description = "DA14531 SDK Rust bindings"
documentation = "https://docs.rs/da14531-sdk"
edition = "2021"
keywords = [
"cortex-m",
"embedded",
"da14531",
"no_std",
]
license = "MIT"
name = "da14531-sdk"
readme = "README.md"
repository = "https://github.com/rapitag/da14531-sdk"
rust-version = "1.60"
version = "0.2.0"
[dependencies]
cty = "0.2.2"
da14531-sdk-macros = "0.2.0"
paste = "1.0.7"
rtt-target = "0.3.1"
[build-dependencies]
bindgen = "0.59.2"
cc = "1.0"
lazy_static = "1.4.0"
[features]
default = [
"custom_rest_evt_cb",
"sleep_mode_off",
"address_mode_static",
"profile_dis_server",
"profile_custom_server1",
]
# No main
no_main = []
# Expose unsafe bindings
expose_bindings = []
# Drivers
driver_spi = []
driver_spi_flash = []
# Custom REST event callback
custom_rest_evt_cb = []
# Sleep modes
sleep_mode_ext_on = []
sleep_mode_ext_otp_copy_on = []
sleep_mode_off = []
# BLE address modes
address_mode_public = []
address_mode_static = []
# BLE profiles
ble_client_profiles = ["ble_profiles"]
ble_profiles = []
ble_server_profiles = ["ble_profiles"]
profile_anc_client = ["ble_client_profiles"]
profile_batt_server = ["ble_server_profiles"]
profile_bcs_server = ["ble_server_profiles"]
profile_bms_server = ["ble_server_profiles"]
profile_cts_client = ["ble_client_profiles"]
profile_cts_server = ["ble_server_profiles"]
profile_custom_server = []
profile_custom_server1 = ["ble_server_profiles", "profile_custom_server"]
profile_custom_server2 = ["ble_server_profiles", "profile_custom_server"]
profile_dis_server = ["ble_server_profiles"]
profile_findme_locator = ["ble_client_profiles"]
profile_findme_target = ["ble_server_profiles"]
profile_gatt_client = ["ble_client_profiles"]
profile_prox_reporter = ["ble_server_profiles"]
profile_suota_receiver = ["ble_server_profiles"]
profile_uds_server = ["ble_server_profiles"]
profile_wss_server = ["ble_server_profiles"]
# Other features
exclude_dlg_timer = []