Skip to content

Commit 3760e18

Browse files
committed
Remove the stm32f301 subdevice features
The stm32f301x{b,c,d,e} models don't exist! There are stm32f301x{6,8} models, but those differ only in flash size, so we probably won't need separate features for these.
1 parent b0aaa37 commit 3760e18

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ device-selected = []
5656
direct-call-deprecated = []
5757
rt = ["stm32f3/rt"]
5858
# Any Changes here should be mirrored in README.md and src/lib.rs
59-
stm32f301 = ["stm32f3/stm32f301", "direct-call-deprecated"]
60-
stm32f301xb = ["stm32f301", "device-selected"]
61-
stm32f301xc = ["stm32f301", "device-selected"]
62-
stm32f301xd = ["stm32f301", "device-selected"]
63-
stm32f301xe = ["stm32f301", "device-selected"]
59+
stm32f301 = ["stm32f3/stm32f301", "device-selected"]
6460
stm32f318 = ["stm32f3/stm32f3x8", "device-selected"]
6561
stm32f302 = ["stm32f3/stm32f302", "direct-call-deprecated"]
6662
stm32f302xb = ["stm32f302", "device-selected"]

src/lib.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
Please select one of the following
77
88
(Note: `x` denotes any character in [a-z])
9-
* stm32f301xb
10-
* stm32f301xc
11-
* stm32f301xd
12-
* stm32f301xe
9+
* stm32f301
1310
* stm32f318
1411
* stm32f302xb
1512
* stm32f302xc
@@ -43,10 +40,7 @@ compile_error!(
4340
Please select one of the following
4441
4542
(Note: `x` denotes any character in [a-z])
46-
* stm32f301xb
47-
* stm32f301xc
48-
* stm32f301xd
49-
* stm32f301xe
43+
* stm32f301
5044
* stm32f318
5145
* stm32f302xb
5246
* stm32f302xc

0 commit comments

Comments
 (0)