From 582517e6457a3e819eaba9d5fe9c4847cc955af2 Mon Sep 17 00:00:00 2001 From: sprhawk <465558+sprhawk@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:45:58 +0800 Subject: [PATCH 1/2] added stm32f302x6, stm32f302x8 --- .github/workflows/ci.yml | 2 ++ Cargo.toml | 2 ++ README.md | 2 ++ src/lib.rs | 4 ++++ 4 files changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecd45ffbc..5c72f557f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,8 @@ jobs: - stm32f302xc - stm32f302xd - stm32f302xe + - stm32f302x6 + - stm32f302x8 - stm32f303xb - stm32f303xc - stm32f303xd diff --git a/Cargo.toml b/Cargo.toml index ffa669625..902a9954c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,6 +64,8 @@ stm32f302xb = ["stm32f302", "device-selected"] stm32f302xc = ["stm32f302", "device-selected"] stm32f302xd = ["stm32f302", "device-selected"] stm32f302xe = ["stm32f302", "device-selected"] +stm32f302x6 = ["stm32f302", "device-selected"] +stm32f302x8 = ["stm32f302", "device-selected"] stm32f303 = ["stm32f3/stm32f303", "direct-call-deprecated"] stm32f303xb = ["stm32f303", "stm32-usbd/ram_access_1x16", "device-selected"] stm32f303xc = ["stm32f303", "stm32-usbd/ram_access_1x16", "device-selected"] diff --git a/README.md b/README.md index d6e817085..1d541b753 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,8 @@ Note: `x` denotes any character in [a-z] * stm32f302xc * stm32f302xd * stm32f302xe +* stm32f302x6 +* stm32f302x8 * stm32f303xb * stm32f303xc * stm32f303xd diff --git a/src/lib.rs b/src/lib.rs index 5a6a24491..d2bcd452d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,8 @@ * stm32f302xc * stm32f302xd * stm32f302xe + * stm32f302x6 + * stm32f302x8 * stm32f303xb * stm32f303xc * stm32f303xd @@ -46,6 +48,8 @@ compile_error!( * stm32f302xc * stm32f302xd * stm32f302xe + * stm32f302x6 + * stm32f302x8 * stm32f303xb * stm32f303xc * stm32f303xd From b0bbae50e567f325704eef9e3869c7030a781735 Mon Sep 17 00:00:00 2001 From: sprhawk <465558+sprhawk@users.noreply.github.com> Date: Sun, 30 Aug 2020 15:43:47 +0800 Subject: [PATCH 2/2] added "stm32f302x6 and stm32f302x8 devices" to changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eedc4f2b..0ed9e7a6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Support for 16-bit words with SPI ([#107](https://github.com/stm32-rs/stm32f3xx-hal/pull/107)) - SPI support for reclock after initialization ([#98](https://github.com/stm32-rs/stm32f3xx-hal/pull/98)) +- Support for `stm32f302x6` and `stm32f302x8` devices ([#132](https://github.com/stm32-rs/stm32f3xx-hal/pull/132)) ## [v0.5.0] - 2020-07-21