Skip to content

Commit 61ff2dc

Browse files
committed
Add comments about product categories to io-* features
Initially I was fairly confused on what those "GPIO IP versions" actually mean, but now I'm pretty sure they correspond to the product categories as per "1.4 Product category definition" in the family reference manual.
1 parent c18eb55 commit 61ff2dc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Cargo.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ stm32l082 = ["stm32l0x2"]
6565

6666
# Features based on the GPIO peripheral version.
6767
# This determines the pin function mapping of the MCU.
68+
# The features correspond to the product categories.
69+
#
6870
# Note: The easiest way to pick the proper io-* feature is to apply
6971
# the matching mcu-* feature for your MCU!
70-
io-STM32L021 = []
71-
io-STM32L031 = []
72-
io-STM32L051 = []
73-
io-STM32L071 = []
72+
io-STM32L021 = [] # Product category 1
73+
io-STM32L031 = [] # Product category 2
74+
io-STM32L051 = [] # Product category 3
75+
io-STM32L071 = [] # Product category 5
7476

7577
# Physical packages
7678
ewlcsp49 = []

0 commit comments

Comments
 (0)