Daniel Egger
2116717507
Fixed a number of deprecation warnings and lints
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
3 years ago
David Turner
be7084cbbe
Fix typo in SPI example
4 years ago
Tom
1524cb1967
Update to stm32f0 - 0.6.0 ( #52 )
...
* Updated stm32f0 to 0.6.0 and neatened other deps
* Adjusted names and removed unneeded unsafe blocks
* Overhauled RCC to gate HSI48 correctly and add a selector function for it to CFGR
4 years ago
Jesse Braham
63bbfd3068
Review all device datasheets and fix inconsistencies
4 years ago
Jesse Braham
32b14bf976
Add support for stm32f098
4 years ago
Jesse Braham
fca47168d2
Add support for stm32f078
4 years ago
Jesse Braham
c79c69c0f3
Add support for stm32f058
4 years ago
Jesse Braham
e225bc0f68
Add support for stm32f048
4 years ago
Jesse Braham
95aadbbe18
Add support for stm32f038
4 years ago
Jesse Braham
ce2ef0d854
Fix build error, update CHANGELOG and README
4 years ago
Jesse Braham
c4967c2645
Add support for stm32f071
4 years ago
Jesse Braham
b016ffdfe9
Add support for stm32f051
4 years ago
HarkonenBade
7ea2af8a74
Enforce better safety guarentees
...
* Makes use of Rcc parameters rather than making RCC pointers
* Applys CS parameters to GPIO functions that mutate the port non
atomically
* Cut down on build gating hell a bit
4 years ago
David Sawatzke
083323b110
Add more spi documentation
4 years ago
Jesse Braham
6f13445bfc
Add support for the STM32f091 ( #35 )
...
* Add GPIO support for the stm32f091
* Implement RCC, Serial and Timers for stm32f091
* Implement ADC, I2C and SPI for stm32f091
* Add STM32F091 to Travis config, CHANGELOG and README
4 years ago
Yatekii
7da190e507
Added definitions for the stm32f072xx chips ( #31 )
...
* Fixed wrong gpio definitions with #[cfg(any(feature = "stm32f030", feature = "stm32f070"))]
* Added definitions for the 072 series
4 years ago
Daniel Egger
f55163cd5c
Ran rustfmt on the code
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
ef855a0829
Added "device-selected" meta-feature and simplified feature gates
...
Also reworked some use statements to reduce amount of meta code
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
97128234d7
Applied a healthy dose of warning cleanup
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Jesse Braham
4e1e98aa23
Implement SPI for STM32F070 devices
4 years ago
David Sawatzke
a51bb0eeea
Add pins for SPI2
4 years ago
David Sawatzke
78b252ada4
Fix the rustc crash and other things
4 years ago
David Sawatzke
14aab2a12c
Implement multiple spi instances (BROKEN)
4 years ago
David Sawatzke
527f182154
Implement single pin trait based AF for SPI
4 years ago
David Sawatzke
b724b526e8
Add spi for stm32f030 (incomplete)
4 years ago
Daniel Egger
6b3f3bc34f
Bumped stm32f0 dependency, changed interrupt handler, bumped version to 0.9.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
David Sawatzke
83f354ac4e
Add feature gates to everything
4 years ago
Daniel Egger
162083af74
Updated to edition 2018, bumped crate version to 0.8.0
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger
3db793e9d6
First release of stm32f0xx-hal based on stm32f042-hal
...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago