From 0ccda91eb9addfe7cb380c27b5d85eb844a5d384 Mon Sep 17 00:00:00 2001 From: sprhawk <465558+sprhawk@users.noreply.github.com> Date: Sun, 30 Aug 2020 18:01:08 +0800 Subject: [PATCH] Add support for STM32F302x6 and STM32F302x8 devices --- .github/workflows/ci.yml | 2 ++ CHANGELOG.md | 1 + Cargo.toml | 2 ++ README.md | 2 ++ src/lib.rs | 4 ++++ 5 files changed, 11 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/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 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