Skip to content

Commit

Permalink
release 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
burrbull committed May 7, 2023
1 parent 14c7cb4 commit f1cabe1
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
with:
key: v0.14.0-${{ matrix.mcu }}
key: v0.16.0-${{ matrix.mcu }}

- uses: actions-rs/cargo@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Cache Dependencies
uses: Swatinem/rust-cache@v2
with:
key: v0.14.0
key: v0.16.0

- uses: actions-rs/clippy-check@v1
with:
Expand Down
49 changes: 28 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,36 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

- Integrate new version of stm32_i2s (v0.4)
- Fix mstr bit for SPI Master/Slave [#625]
## [v0.15.0] - 2023-05-07


### Changed

- Use `enum`s for alternate peripheral pins (generic over otype) [#594] [#596] [#600] [#610] [#617]
- Add `ReadPin`, `PinSpeed` & `PinPull` traits [#623]
- Add autoimplementations of `DMASet` [#614]
- Simplify `gpio::Outport` [#611]
- rcc `enable_unchecked`, timer features [#618]
- Split SPI master and slave implementations [#609]
- Split USART and UART implementations [#608]
- Add `lapce` editor settings [#601]
- Use `enum`s for alternate peripheral pins (generic over otype) [#594] [#596] [#600] [#610]
- Add missing alternate enums [#617]
- Added missing U(S)ART DMA traits for HAL serial types [#593]
- Split SPI master and slave implementations [#609]
- Simplify `gpio::Outport` [#611]
- Add autoimplementations of `DMASet` [#614]
- `ws2812::prerendered` in example [#615]
- Integrate new version of stm32_i2s (v0.4) [#626]

### Added

- Improve SPI::new* docs [#587]
- Add advanced timer dead time insertion example [#585]
- Added missing U(S)ART DMA traits for HAL serial types [#593]
- I2c dma can now use single DMA channel for TX or RX only [#598]
- Improve SPI::new* docs [#587]
- Implement `serial::RxISR` for `dma::Transfer<..., PERIPHERAL, ...>` where `PERIPHERAL: serial::RxISR`, add `rtic-serial-dma-rx-idle` example [#588]
- Add `lapce` editor settings [#601]
- rcc `enable_unchecked`, timer features [#618]

### Fixed

- Cleanups [#595]
- Fix comlementary for independent channels [#599] [#603]
- I2c dma can now use single DMA channel for TX or RX only [#598]
- `ws2812::prerendered` in example
- Fix mstr bit for SPI Master/Slave [#625]

[#585]: https://github.com/stm32-rs/stm32f4xx-hal/pull/585
[#593]: https://github.com/stm32-rs/stm32f4xx-hal/pull/593
Expand All @@ -39,17 +51,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
[#609]: https://github.com/stm32-rs/stm32f4xx-hal/pull/609
[#611]: https://github.com/stm32-rs/stm32f4xx-hal/pull/611
[#614]: https://github.com/stm32-rs/stm32f4xx-hal/pull/614
[#615]: https://github.com/stm32-rs/stm32f4xx-hal/pull/615
[#617]: https://github.com/stm32-rs/stm32f4xx-hal/pull/617
[#618]: https://github.com/stm32-rs/stm32f4xx-hal/pull/618
[#623]: https://github.com/stm32-rs/stm32f4xx-hal/pull/623
### Changed

### Added

- Improve SPI::new* docs [#587]
- Implement `serial::RxISR` for `dma::Transfer<..., PERIPHERAL, ...>` where `PERIPHERAL: serial::RxISR`, add `rtic-serial-dma-rx-idle` example [#588]

### Fixed
[#626]: https://github.com/stm32-rs/stm32f4xx-hal/pull/626

## [v0.15.0] - 2023-03-13

Expand Down Expand Up @@ -843,7 +849,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Support for stm32f407 and stm32f429.

[Unreleased]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.15.0...HEAD
[Unreleased]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.16.0...HEAD
[v0.16.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.15.0...v0.16.0
[v0.15.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.14.0...v0.15.0
[v0.14.0]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.13.2...v0.14.0
[v0.13.2]: https://github.com/stm32-rs/stm32f4xx-hal/compare/v0.13.1...v0.13.2
Expand Down
27 changes: 13 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ license = "0BSD"
name = "stm32f4xx-hal"
readme = "README.md"
repository = "https://github.com/stm32-rs/stm32f4xx-hal"
version = "0.15.0"
version = "0.16.0"

[package.metadata.docs.rs]
features = ["stm32f429", "usb_fs", "can", "i2s", "fsmc_lcd", "rtic", "defmt"]
targets = ["thumbv7em-none-eabihf"]

[dependencies]
defmt = { version = "0.3.1", optional = true }
defmt = { version = "0.3.4", optional = true }
bxcan = { version = "0.7", optional = true }
cortex-m = "0.7.4"
cortex-m-rt = "0.7.1"
cortex-m = { version = "0.7.7", features = ["critical-section-single-core"]}
cortex-m-rt = "0.7.3"
nb = "1.1"
rand_core = "0.6.3"
rand_core = "0.6.4"
stm32f4 = "0.15.1"
synopsys-usb-otg = { version = "0.3.2", features = ["cortex-m"], optional = true }
sdio-host = { version = "0.6.0", optional = true }
Expand All @@ -45,7 +45,7 @@ fugit = "0.3.6"
fugit-timer = "0.1.3"
rtic-monotonic = { version = "1.0", optional = true }
systick-monotonic = { version = "1.0", optional = true }
bitflags = "1.3.2"
bitflags = "2.2"
embedded-storage = "0.2"

[dependencies.time]
Expand All @@ -61,8 +61,8 @@ version = "0.4.0"
optional = true

[dev-dependencies]
defmt = "0.3.2"
defmt-rtt = "0.4.0"
defmt = "0.3.4"
#defmt-rtt = "0.4.0"
panic-probe = { version = "0.3.0", features = [ "print-defmt" ] }
panic-semihosting = "0.6.0"
cortex-m-semihosting = "0.5.0"
Expand All @@ -73,11 +73,10 @@ embedded-graphics = "0.7.1"
usb-device = "0.2.9"
usbd-serial = "0.1.1"
micromath = "2"
cortex-m-rtic = "1.1.3"
cortex-m-rtic = { version = "1.1.4", features = ["test-critical-section"] }
dwt-systick-monotonic = "1.1"
st7789 = "0.7.0"
panic-rtt-target = { version = "0.1.2", features = ["cortex-m"] }
rtt-target = { version = "0.3.1", features = ["cortex-m"] }
rtt-target = { version = "0.4.0" }
display-interface-spi = "0.4.1"
ist7920 = "0.1.1"
smart-leds = "0.3.0"
Expand Down Expand Up @@ -403,9 +402,9 @@ required-features = ["rng"] # stm32f407
name = "rtc"
required-features = ["device-selected"]

[[example]]
name = "rtic-adc-dma"
required-features = ["device-selected", "rtic"] # stm32f401
#[[example]]
#name = "rtic-adc-dma"
#required-features = ["device-selected", "rtic"] # stm32f401

[[example]]
name = "rtic-button"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ cortex-m-rt = "0.7"
panic-halt = "0.2"

[dependencies.stm32f4xx-hal]
version = "0.15.0"
version = "0.16.0"
features = ["stm32f407"] # replace the model of your microcontroller here
# and add other required features
```
Expand Down
2 changes: 1 addition & 1 deletion examples/rtc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#![no_std]

use cortex_m_rt::entry;
use panic_rtt_target as _;
use panic_halt as _;
use rtt_target::{rprintln, rtt_init_print};

use stm32f4xx_hal::{pac, prelude::*, rtc::Rtc};
Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions src/i2s.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

use crate::gpio::{self, NoPin};
use crate::pac;
use crate::rcc;
use crate::rcc::Clocks;
use crate::rcc::Reset;
#[allow(unused)]
use crate::rcc::{self, Clocks, Reset};
use fugit::HertzU32 as Hertz;

#[cfg(feature = "stm32_i2s_v12x")]
Expand Down

0 comments on commit f1cabe1

Please sign in to comment.