@@ -7,15 +7,31 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
- ## [ v0.7.0] - 2021-03-10
11
-
12
10
### Added
13
11
14
- - Replace custom time based units with types defined in the [ embedded-time] [ ] crate ([ #192 ] )
12
+ - Replace custom time based units with types defined in the [ embedded-time] [ ]
13
+ crate ([ #192 ] )
15
14
- Make ` Clocks ` ` ppre1() ` and ` ppre2() ` methods public, to get the current
16
15
Prescaler value. ([ #210 ] )
16
+ - Implement ` into_xxx ` methods for partially erased pins ([ #189 ] )
17
+ - Enable better GPIO internal resistor configuration ([ #189 ] )
18
+ - Support for GPIO output slew rate configuration ([ #189 ] )
19
+ - Support for GPIO interrupts ([ #189 ] )
17
20
18
- ### Breaking changes
21
+ [ embedded-time ] : https://github.com/FluenTech/embedded-time/
22
+
23
+ ### Changed
24
+
25
+ - Added support for more CAN bit rates and modes. ([ #186 ] )
26
+ - The structure of ` gpio.rs ` is greatly changed. Generic ` Pin ` struct is used
27
+ for every GPIO pin now ([ #189 ] )
28
+
29
+ ### Fixed
30
+
31
+ - Delay based on systick no longer panics ([ #203 ] ) for to high values
32
+ and support longer delays ([ #208 ] )
33
+
34
+ ### Breaking Changes
19
35
20
36
- The ` rcc ` public API now expects time based units in ` Megahertz ` .
21
37
If the supplied frequency cannot be converted to ` Hertz ` the code
@@ -34,21 +50,16 @@ let clocks = rcc
34
50
```
35
51
36
52
- Bump dependencies: ([ #211 ] )
37
- - ` stm32f3 ` dependency to 0.13.0
38
- - ` nb ` to 1.0
53
+ - ` stm32f3 ` dependency to 0.13
54
+ - ` nb ` to 1
39
55
- ` cortex-m ` to 0.7
40
56
- ` stm32-usbd ` to 0.6
41
57
- ` defmt ` to 0.2
42
58
43
- [ embedded-time ] : https://github.com/FluenTech/embedded-time/
44
- ### Changed
45
-
46
- - Added support for more CAN bit rates and modes. ([ #186 ] )
47
-
48
- ### Fixed
49
-
50
- - Delay based on systick no longer panics ([ #203 ] ) for to high values
51
- and support longer delays ([ #208 ] )
59
+ - ` into_afx ` methods are splitted into ` into_afx_push_pull ` and
60
+ ` into_afx_open_drain ` ([ #189 ] )
61
+ - GPIO internal resistor configuration is no longer encoded into pin typestate
62
+ in input mode ([ #189 ] )
52
63
53
64
## [ v0.6.1] - 2020-12-10
54
65
@@ -69,8 +80,7 @@ let clocks = rcc
69
80
- Impls for all SPI pins for all ` stm32f302 ` sub-targets, ` stm32f303 `
70
81
subtargets, ` stm32f3x8 ` targets, ` stm32f334 ` , and ` stm32f373 `
71
82
([ #99 ] )
72
- - SPI4 peripheral for supported
73
- devices. ([ #99 ] )
83
+ - SPI4 peripheral for supported devices. ([ #99 ] )
74
84
- Support for I2C transfer of more than 255 bytes, and 0 byte write ([ #154 ] )
75
85
- Support for HSE bypass and CSS ([ #156 ] )
76
86
- Impls for missing I2C pin definitions ([ #164 ] )
@@ -310,15 +320,12 @@ let clocks = rcc
310
320
[ #208 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/208
311
321
[ #203 ] : https://github.com/stm32-rs/stm32f3xx-hal/issues/203
312
322
[ #192 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/192
323
+ [ #189 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/189
313
324
[ #186 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/186
314
325
[ #184 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/184
315
326
[ #172 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/172
316
327
[ #170 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/170
317
328
[ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
318
- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
319
- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
320
- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
321
- [ #164 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/164
322
329
[ #156 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/156
323
330
[ #154 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/154
324
331
[ #152 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/152
@@ -333,30 +340,24 @@ let clocks = rcc
333
340
[ #101 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/101
334
341
[ #100 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/100
335
342
[ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
336
- [ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
337
- [ #99 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/99
338
343
[ #98 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/98
339
344
[ #97 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/97
340
345
[ #91 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/91
341
346
[ #86 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/86
342
- [ #86 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/86
343
347
[ #82 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/82
344
348
[ #75 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/75
345
349
[ #72 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/72
346
350
[ #70 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/70
347
351
[ #67 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/67
348
- [ #67 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/67
349
352
[ #60 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/60
350
353
[ #58 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/58
351
354
[ #56 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/56
352
355
[ #52 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/52
353
356
[ #50 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/50
354
- [ #50 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/50
355
357
[ #47 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/47
356
358
[ #42 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/42
357
359
[ #39 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/39
358
360
[ #35 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/18
359
- [ #35 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/35
360
361
[ #34 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/34
361
362
[ #33 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/33
362
363
[ #31 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/33
@@ -369,7 +370,6 @@ let clocks = rcc
369
370
[ #16 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/16
370
371
[ #14 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/14
371
372
[ #12 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/12
372
- [ #12 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/12
373
373
[ #11 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/11
374
374
[ #6 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/6
375
375
[ #4 ] : https://github.com/stm32-rs/stm32f3xx-hal/pull/4
0 commit comments