@@ -52,8 +52,14 @@ void = {version = "1.0", default-features = false}
52
52
# Optional depdendencies
53
53
# ===============================================================================
54
54
55
+ cortex-m-interrupt = {version = " 0.2.1-git" , git = " https://github.com/datdenkikniet/cortex-m-interrupt.git" , rev = " 9baa936" , optional = true }
56
+ defmt = { version = " 0.3" , optional = true }
57
+ embassy-sync = {version = " 0.1" , optional = true }
58
+ embedded-hal-alpha = {package = " embedded-hal" , version = " 1.0.0-alpha.9" }
59
+ embedded-hal-async = {version = " 0.2.0-alpha.0" , optional = true }
55
60
embedded-sdmmc = {version = " 0.3" , optional = true }
56
61
fugit = {version = " 0.3" , optional = true }
62
+ futures = {version = " 0.3" , default-features = false , features = [" async-await" ], optional = true }
57
63
jlink_rtt = {version = " 0.2" , optional = true }
58
64
rtic-monotonic = {version = " 1.0" , optional = true }
59
65
usb-device = {version = " 0.2" , optional = true }
@@ -90,37 +96,8 @@ atsame53n = {version = "0.12.0", path = "../pac/atsame53n", optional = true}
90
96
atsame54n = {version = " 0.12.0" , path = " ../pac/atsame54n" , optional = true }
91
97
atsame54p = {version = " 0.12.0" , path = " ../pac/atsame54p" , optional = true }
92
98
93
- [dependencies .defmt ]
94
- version = " 0.3"
95
- optional = true
96
99
97
- [dependencies .embedded-hal-async ]
98
- version = " 0.2.0-alpha.0"
99
- optional = true
100
100
101
- [dependencies .embedded-hal-alpha ]
102
- package = " embedded-hal"
103
- version = " 1.0.0-alpha.9"
104
-
105
- [dependencies .critical-section ]
106
- version = " 0.2.7"
107
- optional = true
108
-
109
- [dependencies .embassy-sync ]
110
- version = " 0.1"
111
- optional = true
112
- git = " https://github.com/embassy-rs/embassy.git"
113
-
114
- [dependencies .futures ]
115
- version = " 0.3"
116
- default-features = false
117
- features = [" async-await" ]
118
- optional = true
119
-
120
- [dependencies .cortex-m-interrupt ]
121
- version = " 0.2.1-git"
122
- git = " https://github.com/jbeaurivage/cortex-m-interrupt.git"
123
- optional = true
124
101
125
102
# ===============================================================================
126
103
# Features
@@ -217,7 +194,6 @@ usb = ["usb-device"]
217
194
use_rtt = [" jlink_rtt" ]
218
195
async = [
219
196
" cortex-m-interrupt" ,
220
- " critical-section" ,
221
197
" unproven" ,
222
198
" embassy-sync" ,
223
199
" futures" ,
0 commit comments