Commit Graph

243 Commits (cb9581a4ed98b3980be1ee2a86508c3afc8e1501)
 

Author SHA1 Message Date
Daniel Egger cb9581a4ed Bump stm32f0 to 0.10
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 0907de090d
Merge pull request #102 from stm32-rs/pac-instead-of-stm32
Soft-deprecate `stm32` for PAC access and use `pac` instead
4 years ago
Daniel Egger c4ad05524e Soft-deprecate `stm32` for PAC access and use `pac` instead
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 7b1906848c
Merge pull request #101 from stm32-rs/infallible-instead-of-void
Use core::convert::Infallible instead of void::Void for USARTs
4 years ago
Daniel Egger ae29706781 Use core::convert::Infallible instead of void::Void for USARTs
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 0ff6b0c785
Merge pull request #100 from stm32-rs/stopwatch-example
Stopwatch example
4 years ago
Daniel Egger 2a561a279f Add a stopwatch example
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger df7c6e7c8c Use core::mem::swap() in example to move things in/out of Mutex
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger e6ae626855
Merge pull request #99 from Disasm/pac-accesses
Replace volatile access with pac register read/write
4 years ago
Vadim Kaushan 154495b378
Replace volatile access with pac register read/write 4 years ago
Daniel Egger bf77bfc660
Merge pull request #98 from dbrgn/af-docs
Improve documentation for alternate function modes
4 years ago
Danilo Bargen 0e4998d2de Improve documentation for alternate function modes 4 years ago
Daniel Egger d299c1deec More parametrisation and added section sizes as requested
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 63778e9479 More refined and parametrized bloat capture scripts
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger d27619fb47
Entry fir PLLSRC bits fix 4 years ago
Daniel Egger 55d8d39b48
Merge pull request #96 from Disasm/fix-clock-setup
Fix pllsrc bits for HSE
4 years ago
Vadim Kaushan 407bd890c9
Fix pllsrc bits for HSE 4 years ago
Daniel Egger b6b18400c4 Release 0.16.0
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 9b646d9a5d
Merge pull request #93 from stm32-rs/MSRV
Mention MSRV of 1.39.0 and test it in CI
4 years ago
Daniel Egger e529a105a0 Mention MSRV of 1.39.0 and test it in CI
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 6c8a0a1179
Merge pull request #92 from stm32-rs/add-another-blinky
Add a new timer and interrupt based blinky example
4 years ago
Daniel Egger 49dc85c295 Add a new timer and interrupt based blinky example
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 8e96202d05
Merge pull request #91 from stm32-rs/fix-timer
Assume twice the timer frequency when HCLK != PCLK
4 years ago
Daniel Egger 53e6f73106 Assume twice the timer frequency when HCLK != PCLK
Internally the frequency going to the timers is doubled if PCLK is
prescaled.

Fixes #90

Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger c39da7e3f3
Moved USB driver to unreleased release
Closes #86
4 years ago
James Munns b15fc1532f
Add I2C Read implementation (#88)
* Add read implementation
* Add changelog
4 years ago
Daniel Egger 4c259b9ce1
Merge pull request #87 from pigrew/pllsrc
RCC: Correct PLL multiplier calculations.
4 years ago
Nathan Conrad d59291f414 Correct logic used to determine default PLL pre-divider. 4 years ago
Nathan Conrad 258134c875 Disable stm32f030 CI test. 4 years ago
Daniel Egger 0d9f0b275f
Merge pull request #85 from pigrew/usbClkSrc
RCC: USB source switching code.
4 years ago
Nathan Conrad b3988e768e RCC: USB source switching code. 4 years ago
Daniel Egger 06c983c84b
Merge pull request #84 from pigrew/hsi488_cfg
RCC: Only provide HSI48 & CRS in API for devices which have it
4 years ago
Nathan Conrad 8bcf488582 RCC: Only provide HSI48 in API for devices which are documented to have it. 4 years ago
Daniel Egger 6c1420e0d1 Remove costly unwrap from example
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 865dc15f53 Run through rustfmt
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 33fe6da6dc Fix STM32F030/STM32F070 impl
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 67e29bfa8b Bump stm32f0 version to 0.9 and upgrade code accordingly
Signed-off-by: Daniel Egger <daniel@eggers-club.de>
4 years ago
Daniel Egger 88a8d83179
Merge pull request #80 from pigrew/hse_bypass
Add (breaking) API change to allow for HSE bypass to be selected.
4 years ago
Nathan Conrad 02278e5542 Add (breaking) API change to allow for HSE bypass to be selected. 4 years ago
Daniel Egger 8cefde6b03
Merge pull request #82 from pigrew/pll_en_fix
RCC: PLL: Modify CR instead of write, plus remove unnecessary unsafe
4 years ago
Nathan Conrad 3ba20dc0cb RCC: PLL: Modify CR instead of write, plus remove unnecessary unsafe tag. 4 years ago
Daniel Egger 22ad0dc0ed
Merge pull request #81 from pigrew/Systick_returns
systick returns, so should be marked as such.
4 years ago
Nathan Conrad 51d7c76ee8 systick returns, so should be marked as such. 4 years ago
Daniel Egger 31b63ed92d
Merge pull request #76 from Disasm/usb-feature
Mention the stm32-usbd feature
4 years ago
Vadim Kaushan 150063efa1
Mention the stm32-usbd feature 4 years ago
Daniel Egger 188d18a655
Merge pull request #75 from Disasm/usb-docs
Generate USB docs on docs.rs
4 years ago
Vadim Kaushan f6d087944e
Generate usb docs on docs.rs 4 years ago
Daniel Egger 0872ca4f14
Merge pull request #74 from Disasm/usb
Add USB driver
4 years ago
Vadim Kaushan 74670ac848
Update CHANGELOG 4 years ago
Vadim Kaushan f9ef8c3479
Enable USB support for STM32F070x6/B 4 years ago