Commit Graph

153 Commits (d30b844a60fe975672cbca9f8141c14ab3cc51a7)
 

Author SHA1 Message Date
Daniel Egger d30b844a60 Remove lto from Cargo.toml to fix nightly builds
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger b4049b5323
Merge pull request #54 from stm32-rs/experimental-tsc
First completish version of the TSC support
4 years ago
Daniel Egger 1e040f403b Implement TSC (touch sensitive controller) support
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger cdac82c305
Merge pull request #55 from stm32-rs/fix-hsi14-init
Use modify instead of write for HSI14 clock setup
4 years ago
Daniel Egger 2f0fb0b09e Use modify instead of write for HSI14 clock setup
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 77a6dad00a Improved serial write_str implementation to properly handle errors
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger d0f4500481
Merge pull request #53 from HarkonenBade/adc-updates
Update the ADC code to take advantage of the named variants in stm32-rs v0.6.0
4 years ago
HarkonenBade e081e82390 Update the ADC code to take advantage of the named variants in stm32-rs v0.6.0 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
Daniel Egger cc5dbe03e5
Merge pull request #51 from jessebraham/peripheral-review
Review peripherals and fix inconsistencies
4 years ago
Jesse Braham 0dccc8956c Add self to authors 4 years ago
Jesse Braham 63bbfd3068 Review all device datasheets and fix inconsistencies 4 years ago
Daniel Egger 81f56fb4a2
Merge pull request #50 from jessebraham/stm32f0x8
Support stm32f0x8 line
4 years ago
Jesse Braham 1c7e2cd93b Update CHANGELOG and README 4 years ago
Jesse Braham e3d7111c08 Fix some long-standing errors and inconsistencies for USARTS 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
Tom 7e0b205292 Add myself to authors list (#48)
* Add myself to authors list

Co-Authored-By: HarkonenBade <github@harkonen.net>
4 years ago
Daniel Egger 2dbe5cf753 Forgot to commit version change, DOH! Now 0.12.0 for real...
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger f7a464f7ad Relesed 0.12.0
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 2b60666a31 Simplified examples a bit and fixed/added commentry
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 0ffbce722e
Merge pull request #34 from david-sawatzke/serial_mult
Add a tx only and a rx only serial instance
4 years ago
David Sawatzke c8dd9b1f81 Add documentation and update a few examples
Also add the `Write` implementation for Serial
4 years ago
David Sawatzke ec1fa416e2 Move `read`, `flush` & `write` in separate functions 4 years ago
David Sawatzke 2c62bd99eb Only enable usart tx/rx when needed 4 years ago
David Sawatzke ee11a821a0 Add changelog entry 4 years ago
David Sawatzke 8e0179d60c Add a tx only and a rx only serial instance 4 years ago
Daniel Egger ac4c91b95f
Merge pull request #43 from jessebraham/stm32f0x1
Add support for stm32f031, stm32f051, stm32f071
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
Jesse Braham e6db427c09 Add support for stm32f031 4 years ago
Daniel Egger c6b96c397b
Merge pull request #41 from HarkonenBade/down-with-ub
Apply critical sections to uses of registers where exclusivity is not guaranteed
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 f54423aa9c Optimize delay implementation (#42)
* Optimize delay implementation
* Configure delay with hclk & only for 1MHz+
* Clean up delay implementation
* Add more reasoning and fix documentation
* Add changelog entry for delay optimization
4 years ago
Tom 94eea3924b Tweaks to travis to run plain builds and faster cargo executions (#39)
* Tweaks to travis to run plain builds and faster cargo executions
4 years ago
david-sawatzke b2111b98b0 Fix overflow in delay (#40)
Gets checked in debug builds
4 years ago
Tom 6b2ffaa650
Merge pull request #38 from HarkonenBade/RCC-fixes
Add fixes to RCC code for plain builds
4 years ago
Daniel Egger e10dae9663
Merge pull request #37 from david-sawatzke/spi_doc
Add more spi documentation
4 years ago
HarkonenBade 626d8960e7 Add fixes to RCC code for plain builds 4 years ago
David Sawatzke 083323b110 Add more spi documentation 4 years ago
Daniel Egger aef15217c7
Merge pull request #36 from jessebraham/readme-updates
Overhaul README, add Getting Started section
4 years ago
Jesse Braham be98d3ce8d Overhaul README, add Getting Started section 4 years ago
Ze'ev Klapow 23be76c14c RCC: Add ability to use HSE clock source (#25)
* allow enabling hse

* enable hse pll src correctly

* fix build + warning

* rusfmt

* updated CHANGELOG
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
Daniel Egger 35abc7a88f Released 0.11.1
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
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