@@ -23,7 +23,7 @@ rust-version = "1.77.2"
23
23
version = " 0.20.2"
24
24
25
25
[package .metadata .docs .rs ]
26
- features = [" samd21g" , " samd21g-rt" , " usb" , " dma" , " async" ]
26
+ features = [" samd21g" , " samd21g-rt" , " usb" , " dma" , " async" , " rtic " ]
27
27
28
28
# ===============================================================================
29
29
# Required depdendencies
@@ -48,7 +48,7 @@ nb = "1.1"
48
48
num-traits = {version = " 0.2.19" , default-features = false }
49
49
opaque-debug = " 0.3.0"
50
50
paste = " 1.0.15"
51
- portable-atomic = {version = " 1.9 .0" , optional = true , default-features = false , features = [" critical-section" ]}
51
+ portable-atomic = {version = " 1.10 .0" , optional = true , features = [" critical-section" ]}
52
52
rand_core = " 0.6"
53
53
seq-macro = " 0.3"
54
54
typenum = " 1.12.0"
@@ -69,6 +69,7 @@ jlink_rtt = {version = "0.2", optional = true}
69
69
mcan-core = {version = " 0.2" , optional = true }
70
70
rtic-monotonic = {version = " 1.0" , optional = true }
71
71
usb-device = {version = " 0.3.2" , optional = true }
72
+ rtic-time = {version = " 2.0" , optional = true }
72
73
73
74
# ===============================================================================
74
75
# PACs
@@ -80,27 +81,27 @@ usb-device = {version = "0.3.2", optional = true}
80
81
# users should specify a corresponding variant (see below). The variant features
81
82
# will select the correct PAC, as well as other configuration features.
82
83
83
- atsamd11c = { version = " 0.14.1" , path = " ../pac/atsamd11c" , optional = true }
84
- atsamd11d = { version = " 0.14.1" , path = " ../pac/atsamd11d" , optional = true }
84
+ atsamd11c = {version = " 0.14.1" , path = " ../pac/atsamd11c" , optional = true }
85
+ atsamd11d = {version = " 0.14.1" , path = " ../pac/atsamd11d" , optional = true }
85
86
86
- atsamd21e = { version = " 0.14.1" , path = " ../pac/atsamd21e" , optional = true }
87
- atsamd21g = { version = " 0.14.1" , path = " ../pac/atsamd21g" , optional = true }
88
- atsamd21j = { version = " 0.14.1" , path = " ../pac/atsamd21j" , optional = true }
87
+ atsamd21e = {version = " 0.14.1" , path = " ../pac/atsamd21e" , optional = true }
88
+ atsamd21g = {version = " 0.14.1" , path = " ../pac/atsamd21g" , optional = true }
89
+ atsamd21j = {version = " 0.14.1" , path = " ../pac/atsamd21j" , optional = true }
89
90
90
- atsamd51g = { version = " 0.14.1" , path = " ../pac/atsamd51g" , optional = true }
91
- atsamd51j = { version = " 0.14.1" , path = " ../pac/atsamd51j" , optional = true }
92
- atsamd51n = { version = " 0.14.1" , path = " ../pac/atsamd51n" , optional = true }
93
- atsamd51p = { version = " 0.14.1" , path = " ../pac/atsamd51p" , optional = true }
91
+ atsamd51g = {version = " 0.14.1" , path = " ../pac/atsamd51g" , optional = true }
92
+ atsamd51j = {version = " 0.14.1" , path = " ../pac/atsamd51j" , optional = true }
93
+ atsamd51n = {version = " 0.14.1" , path = " ../pac/atsamd51n" , optional = true }
94
+ atsamd51p = {version = " 0.14.1" , path = " ../pac/atsamd51p" , optional = true }
94
95
95
- atsame51g = { version = " 0.14.1" , path = " ../pac/atsame51g" , optional = true }
96
- atsame51j = { version = " 0.14.1" , path = " ../pac/atsame51j" , optional = true }
97
- atsame51n = { version = " 0.14.1" , path = " ../pac/atsame51n" , optional = true }
96
+ atsame51g = {version = " 0.14.1" , path = " ../pac/atsame51g" , optional = true }
97
+ atsame51j = {version = " 0.14.1" , path = " ../pac/atsame51j" , optional = true }
98
+ atsame51n = {version = " 0.14.1" , path = " ../pac/atsame51n" , optional = true }
98
99
99
- atsame53j = { version = " 0.14.1" , path = " ../pac/atsame53j" , optional = true }
100
- atsame53n = { version = " 0.14.1" , path = " ../pac/atsame53n" , optional = true }
100
+ atsame53j = {version = " 0.14.1" , path = " ../pac/atsame53j" , optional = true }
101
+ atsame53n = {version = " 0.14.1" , path = " ../pac/atsame53n" , optional = true }
101
102
102
- atsame54n = { version = " 0.14.1" , path = " ../pac/atsame54n" , optional = true }
103
- atsame54p = { version = " 0.14.1" , path = " ../pac/atsame54p" , optional = true }
103
+ atsame54n = {version = " 0.14.1" , path = " ../pac/atsame54n" , optional = true }
104
+ atsame54p = {version = " 0.14.1" , path = " ../pac/atsame54p" , optional = true }
104
105
105
106
# ===============================================================================
106
107
# Features
@@ -182,11 +183,11 @@ same54p-rt = ["same54p", "atsame54p/rt"]
182
183
# These features are user-selectable and enable additional features within the
183
184
# HAL, like USB or DMA support.
184
185
can = [" mcan-core" ]
185
- dma = []
186
186
defmt = [" dep:defmt" ]
187
+ dma = []
187
188
enable_unsafe_aes_newblock_cipher = []
188
189
max-channels = [" dma" ]
189
- rtic = [" rtic-monotonic" ]
190
+ rtic = [" rtic-monotonic" , " rtic-time " , " portable-atomic " ]
190
191
sdmmc = [" embedded-sdmmc" ]
191
192
usb = [" usb-device" ]
192
193
use_rtt = [" jlink_rtt" ]
0 commit comments