@@ -16,13 +16,15 @@ features = ["stm32f303xc", "rt", "stm32-usbd"]
16
16
targets = [" thumbv7em-none-eabihf" ]
17
17
18
18
[dependencies ]
19
+ cfg-if = " 0.1"
19
20
cortex-m = " 0.6"
20
21
cortex-m-rt = " 0.6"
21
22
embedded-dma = " 0.1"
22
23
embedded-hal = " 0.2"
23
24
nb = " 0.1"
24
- stm32f3 = " 0.11 "
25
+ paste = " 1 "
25
26
rtcc = " 0.2"
27
+ stm32f3 = " 0.12"
26
28
27
29
[dependencies .bare-metal ]
28
30
version = " 0.2"
@@ -53,30 +55,36 @@ device-selected = []
53
55
direct-call-deprecated = []
54
56
rt = [" stm32f3/rt" ]
55
57
58
+ gpio-f302 = []
59
+ gpio-f303 = []
60
+ gpio-f303e = []
61
+ gpio-f333 = []
62
+ gpio-f373 = []
63
+
56
64
# Any Changes here should be mirrored in README.md, src/lib.rs, and
57
65
# .github/workflows/ci.yml.
58
- stm32f301 = [" stm32f3/stm32f301" , " device-selected" ]
59
- stm32f318 = [" stm32f3/stm32f301" , " device-selected" ]
66
+ stm32f301 = [" gpio-f302 " , " stm32f3/stm32f301" , " device-selected" ]
67
+ stm32f318 = [" gpio-f302 " , " stm32f3/stm32f301" , " device-selected" ]
60
68
stm32f302 = [" stm32f3/stm32f302" , " direct-call-deprecated" ]
61
- stm32f302xb = [" stm32f302" , " device-selected" ]
62
- stm32f302xc = [" stm32f302" , " device-selected" ]
63
- stm32f302xd = [" stm32f302" , " device-selected" ]
64
- stm32f302xe = [" stm32f302" , " device-selected" ]
65
- stm32f302x6 = [" stm32f302" , " device-selected" ]
66
- stm32f302x8 = [" stm32f302" , " device-selected" ]
69
+ stm32f302x6 = [" stm32f302" , " gpio-f302 " , " device-selected" ]
70
+ stm32f302x8 = [" stm32f302" , " gpio-f302 " , " device-selected" ]
71
+ stm32f302xb = [" stm32f302" , " gpio-f303 " , " device-selected" ]
72
+ stm32f302xc = [" stm32f302" , " gpio-f303 " , " device-selected" ]
73
+ stm32f302xd = [" stm32f302" , " gpio-f303e " , " device-selected" ]
74
+ stm32f302xe = [" stm32f302" , " gpio-f303e " , " device-selected" ]
67
75
stm32f303 = [" stm32f3/stm32f303" , " direct-call-deprecated" ]
68
- stm32f303xb = [" stm32f303" , " stm32-usbd/ram_access_1x16 " , " device-selected" ]
69
- stm32f303xc = [" stm32f303" , " stm32-usbd/ram_access_1x16 " , " device-selected" ]
70
- stm32f303xd = [" stm32f303" , " stm32-usbd/ram_access_2x16 " , " device-selected" ]
71
- stm32f303xe = [" stm32f303" , " stm32-usbd/ram_access_2x16 " , " device-selected" ]
72
- stm32f303x6 = [" stm32f303" , " device-selected" ]
73
- stm32f303x8 = [" stm32f303" , " device-selected" ]
74
- stm32f373 = [" stm32f3/stm32f373" , " device-selected" ]
75
- stm32f378 = [" stm32f3/stm32f373" , " device-selected" ]
76
- stm32f334 = [" stm32f3/stm32f3x4" , " device-selected" ]
77
- stm32f328 = [" stm32f3/stm32f3x8" , " device-selected" ]
78
- stm32f358 = [" stm32f3/stm32f3x8" , " device-selected" ]
79
- stm32f398 = [" stm32f3/stm32f3x8" , " device-selected" ]
76
+ stm32f303x6 = [" stm32f303" , " gpio-f333 " , " device-selected" ]
77
+ stm32f303x8 = [" stm32f303" , " gpio-f333 " , " device-selected" ]
78
+ stm32f303xb = [" stm32f303" , " gpio-f303 " , " stm32-usbd/ram_access_1x16 " , " device-selected" ]
79
+ stm32f303xc = [" stm32f303" , " gpio-f303 " , " stm32-usbd/ram_access_1x16 " , " device-selected" ]
80
+ stm32f303xd = [" stm32f303" , " gpio-f303e " , " stm32-usbd/ram_access_2x16 " , " device-selected" ]
81
+ stm32f303xe = [" stm32f303" , " gpio-f303e " , " stm32-usbd/ram_access_2x16 " , " device-selected" ]
82
+ stm32f373 = [" gpio-f373 " , " stm32f3/stm32f373" , " device-selected" ]
83
+ stm32f378 = [" gpio-f373 " , " stm32f3/stm32f373" , " device-selected" ]
84
+ stm32f334 = [" gpio-f333 " , " stm32f3/stm32f3x4" , " device-selected" ]
85
+ stm32f328 = [" gpio-f333 " , " stm32f3/stm32f3x8" , " device-selected" ]
86
+ stm32f358 = [" gpio-f303 " , " stm32f3/stm32f3x8" , " device-selected" ]
87
+ stm32f398 = [" gpio-f303e " , " stm32f3/stm32f3x8" , " device-selected" ]
80
88
81
89
[profile .dev ]
82
90
debug = true
0 commit comments