@@ -13,29 +13,49 @@ peripheral access API for the STMicro STM32F4 series microcontrollers. The
13
13
selection of the MCU is done by feature gates, typically specified by board
14
14
support crates. Currently supported configurations are:
15
15
16
+ <table >
17
+ <tr >
18
+ <td >
19
+
16
20
* stm32f401
17
21
* stm32f405
18
22
* stm32f407
19
23
* stm32f410
20
24
* stm32f411
21
25
* stm32f412
26
+ <td >
27
+
22
28
* stm32f413
23
29
* stm32f415
24
30
* stm32f417
25
31
* stm32f423
26
32
* stm32f427
27
33
* stm32f429
34
+ <td >
35
+
28
36
* stm32f437
29
37
* stm32f439
30
38
* stm32f446
31
39
* stm32f469
32
40
* stm32f479
41
+ </tr >
42
+ </table >
33
43
34
44
The idea behind this crate is to gloss over the slight differences in the
35
45
various peripherals available on those MCUs so a HAL can be written for all
36
46
chips in that same family without having to cut and paste crates for every
37
47
single model.
38
48
49
+ ### Other optional features
50
+
51
+ * ` rtic ` — support monotonic timers that can be used by [ RTIC framework] ( https://crates.io/crates/cortex-m-rtic ) .
52
+ * ` defmt ` — implementation of ` defmt::Format ` for public enums and structures. See [ defmt] ( https://crates.io/crates/defmt ) .
53
+ * ` can ` — bxCAN peripheral support. See [ bxcan] ( https://crates.io/crates/bxcan ) .
54
+ * ` i2s ` — I2S peripheral support. See [ stm32_i2s_v12x] ( https://crates.io/crates/stm32_i2s_v12x ) .
55
+ * ` usb_fs ` or ` usb_hs ` — USB OTG FS/HS peripheral support. See [ synopsys-usb-otg] ( https://crates.io/crates/synopsys-usb-otg ) .
56
+ * ` fsmc_lcd ` — LCD support via FMC/FSMC peripheral. See [ display-interface] ( https://crates.io/crates/display-interface ) .
57
+ * ` sdio-host ` — SDIO peripheral support. See [ sdio-host] ( https://crates.io/crates/sdio-host ) .
58
+
39
59
Collaboration on this crate is highly welcome as are pull requests!
40
60
41
61
This crate relies on Adam Greigs fantastic [ stm32f4] [ ] crate to provide
@@ -76,6 +96,7 @@ panic-halt = "0.2"
76
96
[dependencies .stm32f4xx-hal ]
77
97
version = " 0.14.0"
78
98
features = [" stm32f407" ] # replace the model of your microcontroller here
99
+ # and add other required features
79
100
```
80
101
81
102
We also need to tell Rust how to link our executable and how to lay out the
0 commit comments