Releases: stm32-rs/stm32f1xx-hal
Releases · stm32-rs/stm32f1xx-hal
v0.10.0
What's Changed
- Gpio: port, pin generics first by @burrbull in #410
- gpio cleanups by @burrbull in #412
- Spi slave mode by @apeng2012 in #408
- Serial changes v3 by @AndreySmirnov81 in #417
- revert erased macro by @burrbull in #419
- HL trait instead of H generic by @burrbull in #421
- Fix flash write error, according to errata by @datdenkikniet in #427
- Bump bxcan by @Fomys in #426
- feat: adds
get_interrupt
toTimer
by @claymcleod in #429 - Fix computation of timer frequency by @SnVIZQ in #434
- updates by @burrbull in #435
- fix examples by @burrbull in #436
- I2c error by @burrbull in #415
- Un-publish crate::rcc::Config::get_clocks by @horazont in #438
- Add a public method to check for Busy flag in SPI by @imihajlow in #442
- Small
gpio
changes by @AndreySmirnov81 in #446 - Bugfix:
CounterHz
andCounter
wait
by @AndreySmirnov81 in #449 - update ci, clippy & release 0.10 by @burrbull in #452
New Contributors
- @datdenkikniet made their first contribution in #427
- @Fomys made their first contribution in #426
- @claymcleod made their first contribution in #429
- @SnVIZQ made their first contribution in #434
- @imihajlow made their first contribution in #442
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- Add support for reconfiguring a Serial port by @horazont in #385
- Make serial reconfigure infallible by @horazont in #387
- fix deprecation & clippy warnings by @burrbull in #389
- timer Instance, rtic monotonic by @burrbull in #388
- replace GetBusFreq with BusClock by @burrbull in #391
- Add Interruptable for Dynamic by @mryndzionek in #395
- Fix a tiny typo in comment by @longfangsong in #396
- Connectivity line devices config supports ADC2 by @apeng2012 in #397
- Fix a spell mistake by @Pcrab in #398
- Add 9-bits word length mode for serial (new) by @burrbull in #355
- serial refactoring by @AndreySmirnov81 in #400
- use fugit::Rate types instead of custom by @burrbull in #401
- Rename Serial items by @AndreySmirnov81 in #402
- reexport gpio, other cleanups by @burrbull in #403
- timers rework by @burrbull in #404
- update deps, release 0.9.0 by @burrbull in #411
New Contributors
- @horazont made their first contribution in #385
- @mryndzionek made their first contribution in #395
- @longfangsong made their first contribution in #396
- @Pcrab made their first contribution in #398
Full Changelog: v0.8.0...v0.9.0
v0.8.0
What's Changed
- Add SPI frame format config method by @repnop in #280
- various i2c fixes by @sjoerdsimons in #282
- Fix PWM example by @VersBinarii in #285
- Use cortex-m-rtic instead of cortex-m-rtfm by @eldruin in #297
- Fix typo in examples/spi-dma.rs by @david-sawatzke in #289
- Added support for SPI Alternate configuration on Mosi and Sck pins by @johnnyegel in #291
- Support for CAN peripherals with the
bxcan
crate by @timokroeger in #293 - Fix SPI3 alternate function remapping. by @AndreySmirnov81 in #312
- Add DAC, UART4, UART5 clock in RCC for the f103 high density line by @AndreySmirnov81 in #318
- USB-SERIAL_NOTES: add note to inform user to build in release mode by @zacck in #326
- Timer additions: raw access to prescaler and auto-reload by @Windfisch in #322
- SCK, MISO, MOSI by @burrbull in #340
- Do not enable UART DMA flags unconditionally by @Windfisch in #336
- add bors by @burrbull in #345
- clippy by @burrbull in #346
- Add DMA RX and RX/TX support to SPI by @Windfisch in #335
- Add serial port Idle interrupt by @gqf2008 in #342
- Add example of GPIO input mode by @YuaXan in #316
- Use CamelCase for gpio::Edge enum variants by @Piroro-hs in #303
- Const generic GPIOs by @burrbull in #343
- Rcc bit-band by @burrbull in #344
- bxcan update by @burrbull in #348
- Example of using i2c with the bme280 air sensor by @fishrockz in #313
- From for i2c::Mode by @burrbull in #349
- Update USB driver by @Disasm in #320
- add DMA support for ADC3 by @apeng2012 in #353
- Simplify serial by @burrbull in #354
- Add serial is_rxne is_idle is_txe by @gqf2008 in #360
- Fix failing flash verification on erase by @Windfisch in #362
- Allow PullUp and PullDown inputs for timer pwm_input and qei by @Windfisch in #357
- Allow all pullup inputs by @Windfisch in #359
- Allow pullup inputs and opendrain outputs by @Windfisch in #358
- Derive PartialOrd for time module types by @nankeen in #364
- Use max frequency and round down when calculating PCLK1 by @jasLogic in #365
- update dependencies by @burrbull in #366
- rcc config by @burrbull in #337
- pll enable & rcc_config_usb test by @burrbull in #368
- Fix, enable PWR clock before accessing the PWR_CR by @apeng2012 in #372
- Use modify instead of write by @gnxlxnxx in #373
- RTC clock source can be selected by @apeng2012 in #377
- update & clean deps by @burrbull in #379
- v0.8.0 by @burrbull in #380
New Contributors
- @repnop made their first contribution in #280
- @sjoerdsimons made their first contribution in #282
- @VersBinarii made their first contribution in #285
- @eldruin made their first contribution in #297
- @david-sawatzke made their first contribution in #289
- @johnnyegel made their first contribution in #291
- @AndreySmirnov81 made their first contribution in #312
- @zacck made their first contribution in #326
- @gqf2008 made their first contribution in #342
- @YuaXan made their first contribution in #316
- @Piroro-hs made their first contribution in #303
- @fishrockz made their first contribution in #313
- @apeng2012 made their first contribution in #353
- @nankeen made their first contribution in #364
- @jasLogic made their first contribution in #365
- @gnxlxnxx made their first contribution in #373
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- replace picture by @burrbull in #240
- Change arm-none-eabi-gdb to gdb-multiarch by @rudihorn in #241
- Fix small typos in spi.rs by @bschwind in #253
- Add blinky_rtcalarm_irq example by @khrs in #217
- More documentation links by @TheZoq2 in #249
- improve RTC documentation by @TheZoq2 in #245
- Fix mono timer by @TheZoq2 in #254
- Fix small mistake in time.rs: kilohertz should be megahertz by @GreenPenguino in #260
- Spi with 16bit framesize by @jonnyando in #258
- Flash Read/Write Support by @irwineffect in #257
- add PR template by @TheZoq2 in #255
- Added support for continuous and discontinuous scan mode by @katyo in #247
- Implement timer::Cancel trait for CountDownTimer by @mariusknaust in #261
- Add TX DMA implementation for SPI3 by @mitchmindtree in #264
- Proposal for setting the IO Slew Rate by @electroCutie in #267
- Mark bit banding function unsafe (and some minor fixes) by @TheZoq2 in #273
- Add missing SPI3 remap by @mitchmindtree in #265
- Add ADC2 clock in RCC for the connectivity line by @timokroeger in #275
- Change DMA API to use embedded-dma traits by @thalesfragoso in #274
- Hide PAC aliases to declutter docs by @TheZoq2 in #276
New Contributors
- @rudihorn made their first contribution in #241
- @bschwind made their first contribution in #253
- @GreenPenguino made their first contribution in #260
- @jonnyando made their first contribution in #258
- @irwineffect made their first contribution in #257
- @katyo made their first contribution in #247
- @mariusknaust made their first contribution in #261
- @mitchmindtree made their first contribution in #264
- @electroCutie made their first contribution in #267
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
- Remove generic RCC buses from public API by @TheZoq2 in #232
- Fix period retrival for timers by @fooker in #235
- i2c Deref by @burrbull in #183
- Improve SPI, RCC and AFIO documentation by @TheZoq2 in #233
- [WIP/RFC] Improve GPIO API by @TheZoq2 in #211
- Fix
MonoTimer
andTimer::syst
frequency by @TheZoq2 in #236
New Contributors
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Fix typos by @eupn in #174
- Fix more typos by @eupn in #175
- Update RTFM-based examples by @eupn in #173
- Add configuration options to QEI interface by @jamwaffles in #178
- Add QEI changelog entry by @jamwaffles in #179
- Spi Deref by @burrbull in #182
- Replace default blocking spi Write implementation with an optimized one by @timbod7 in #181
- examples/blinky_timer_irq.rs: added an '#[interrupt]' blinky demo by @spicyjack in #188
- Fixes PWM on TIM1 by @thalesfragoso in #187
- spi-dma example: swap buffer and SPI device in return value of a transfer's wait by @trnila in #190
- Add docs for Hertz structs by @jamwaffles in #186
- Hertz: Replace Into impls with From impls by @dbrgn in #194
- Some docstrings for I2C module and non-pub for some apparently internal functions by @jounathaen in #192
- Implement full embedded_hal::Pwm by @justacec in #176
- bump stm32f1 0.10.0 by @burrbull in #185
- Consistently use PAC as
pac
by @therealprof in #196 - Impl multiplication and division for frequency wrappers by @dbrgn in #193
- Fix race condition causing ADCs to read stale values by @TheZoq2 in #203
- stm32f1 v0.11 by @burrbull in #206
- rustfmt by @torkeldanielsson in #204
- Attempt to use GH actions for rustfmt check by @therealprof in #207
- Add GH action for clippy checks by @therealprof in #208
- Fix clippy lints by @therealprof in #209
- CI via GitHub actions by @therealprof in #210
- Support for connectivity line devices (stm32f105 and stm32f107) by @timokroeger in #205
- Rework examples to apply to more targets and test in CI by @therealprof in #213
- initial CRC support by @yjh0502 in #202
- Add missing watchdog prescalers. by @khrs in #218
- Cleanup blinky_timer_irq example. by @khrs in #221
New Contributors
- @eupn made their first contribution in #174
- @jamwaffles made their first contribution in #178
- @timbod7 made their first contribution in #181
- @spicyjack made their first contribution in #188
- @trnila made their first contribution in #190
- @justacec made their first contribution in #176
- @torkeldanielsson made their first contribution in #204
- @yjh0502 made their first contribution in #202
Full Changelog: v0.5.3...v0.6.0
v0.5.3
What's Changed
- Add InputPin impl for generic open drain outputs by @TheZoq2 in #160
- Changed Variable name in EXTI example by @jounathaen in #164
- Fix compile error for missing model feature by @dbrgn in #170
- Impl Read / Write for Serial by @dbrgn in #171
- Improve quick start docs by @TheZoq2 in #172
Full Changelog: v0.5.1...v0.5.3
v0.5.1
What's Changed
- ExtiPin trait for GPIOs by @Windfisch in #125
- Updates for timer doc sections by @geomatsi in #151
- fix frequency for SPI2/3 by @burrbull in #152
- Fixed I2C reading problems by @Okarin99 in #150
New Contributors
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- digital unwrap by @burrbull in #96
- split Timer on 2 stage by @burrbull in #95
- as_slice instead of as_ref by @burrbull in #97
- RCC Bus by @burrbull in #98
- Remove OutputPin impl for Alternate mode pins by @TheZoq2 in #103
- Improve time keeping with Timer and RTC by @thalesfragoso in #94
- Rewrite SWJ config when modifying MAPR (fixes #105) by @TheZoq2 in #106
- bump as_slice by @burrbull in #107
- Re-add core::fmt::Write for serial Tx by @ijager in #111
- error on any invalid target combination by @hazelutf8 in #117
- README explain cargo run permission for gdb #113 by @hazelutf8 in #116
- Implement more general GPIO pins by @TheZoq2 in #115
- Add unidirectional SPI DMA by @TheZoq2 in #104
- Changed timer stop_in_debug to modify dbg.cr instead of overwriting it by @cs2dsb in #130
- replace Void with Infallible + small fixes by @burrbull in #100
- bump stm32-rs deps (v 0.9) by @burrbull in #134
- Add USB driver by @Disasm in #135
- Generate USB docs on docs.rs by @Disasm in #136
- Set i2c frequency using Hertz by @TheZoq2 in #128
- adc-dma timer by @burrbull in #99
- Add rudimentary docs for the usb module by @TheZoq2 in #137
- Added all timers for all variants as described by CubeMX by @cs2dsb in #133
- Removed crate level allow(unused_unsafe) in favour of attributes on the specific instances by @cs2dsb in #140
- Unbump as_slice by @TheZoq2 in #142
- Pwm remap: another try by @burrbull in #147
- alternative implementation for SPI pins by @burrbull in #145
- Documentation updates and cleanup by @TheZoq2 in #148
- Fixed Serial Remapping by @IGBC in #149
New Contributors
- @ijager made their first contribution in #111
- @hazelutf8 made their first contribution in #117
- @cs2dsb made their first contribution in #130
- @IGBC made their first contribution in #149
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Add public functions to toggle PWREN bits by @skammer in #64
- RFC: docs and examples for custom selection of PWM channels by @geomatsi in #60
- Add more configuration options to UART by @TheZoq2 in #63
- aliases for serial tx/rx by @burrbull in #59
- adc: add support for channels 16 and 17 in ADC1 by @geomatsi in #67
- Implement serial::{Tx,Rx}::{listen,unlisten}. by @jmgao in #72
- Adds DMA support for ADC1 by @thalesfragoso in #73
- Update the cargo version in the README.md by @TeXitoi in #78
- Handle debugger pins by @TeXitoi in #79
- pwm: fix examples for custom Pins trait by @geomatsi in #74
- Fixes hclk miscalculation by @thalesfragoso in #85
- bump stm32f1 by @burrbull in #88
- gpio consts by @burrbull in #91
- device features by @burrbull in #90
- digital v2 by @burrbull in #93
- Add support for reading and writing to the Backup Data Register (#83). by @mjepronk in #86
New Contributors
- @jmgao made their first contribution in #72
- @TeXitoi made their first contribution in #78
- @mjepronk made their first contribution in #86
Full Changelog: v0.3.0...v0.4.0