Content-Length: 5560 | pFad | http://github.com/stm32-rs/stm32-rs/pull/733.diff
thub.com diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3c8e95289..223f1fc00 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,8 +1,8 @@ name: CI env: - SVDTOOLS_VERSION: 0.2.1 - SVD2RUST_VERSION: 0.23.0 + SVDTOOLS_VERSION: 0.2.3 + SVD2RUST_VERSION: 0.24.0 FORM_VERSION: 0.8.0 on: diff --git a/.github/workflows/mmaps_master.yaml b/.github/workflows/mmaps_master.yaml index e453b2670..1354e78ac 100644 --- a/.github/workflows/mmaps_master.yaml +++ b/.github/workflows/mmaps_master.yaml @@ -1,7 +1,7 @@ name: build mmaps env: - SVDTOOLS_VERSION: 0.2.1 + SVDTOOLS_VERSION: 0.2.3 on: push: diff --git a/.github/workflows/mmaps_pr.yaml b/.github/workflows/mmaps_pr.yaml index 81871804c..90634eef1 100644 --- a/.github/workflows/mmaps_pr.yaml +++ b/.github/workflows/mmaps_pr.yaml @@ -1,7 +1,7 @@ name: compare mmaps env: - SVDTOOLS_VERSION: 0.2.1 + SVDTOOLS_VERSION: 0.2.3 on: pull_request_target: diff --git a/.github/workflows/nightlies.yaml b/.github/workflows/nightlies.yaml index d2fe95a0f..b985057bc 100644 --- a/.github/workflows/nightlies.yaml +++ b/.github/workflows/nightlies.yaml @@ -1,8 +1,8 @@ name: build nightlies env: - SVDTOOLS_VERSION: 0.2.1 - SVD2RUST_VERSION: 0.23.0 + SVDTOOLS_VERSION: 0.2.3 + SVD2RUST_VERSION: 0.24.0 FORM_VERSION: 0.8.0 on: diff --git a/CHANGELOG.md b/CHANGELOG.md index bc75db515..de68d7a7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * Use PascalCase for values of enums * Added missing TIMx:CR1:OPM, removed unused CNT_H, ARR_H, CCR_H * Replace python svd tools with rust alternatives -* Updated to svd2rust 0.23.0 +* Updated to svd2rust 0.24.0 * `SVDTOOLS` env value for specifying patching tool Family-specific: diff --git a/Makefile b/Makefile index 42830553e..15e2fbd88 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ all: patch svd2rust SHELL := /usr/bin/env bash # Path to `svd`/`svdtools` -SVDTOOLS ?= svd +SVDTOOLS ?= svdtools CRATES ?= stm32f0 stm32f1 stm32f2 stm32f3 stm32f4 stm32f7 stm32h7 \ stm32l0 stm32l1 stm32l4 stm32l5 stm32g0 stm32g4 stm32mp1 \ diff --git a/README.md b/README.md index b2e232153..d8177dd00 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ contain the latest patches and updates. ## Generating Device Crates / Building Locally -* Install `svd2rust`: `cargo install --version 0.23.0 svd2rust` +* Install `svd2rust`: `cargo install --version 0.24.0 svd2rust` * Install `form`: `cargo install form` * Install rustfmt: `rustup component add rustfmt` * Install svdtools: `pip install --user svdtools` diff --git a/devices/common_patches/l0_tim.yaml b/devices/common_patches/l0_tim.yaml index 3441c28ed..078f44928 100644 --- a/devices/common_patches/l0_tim.yaml +++ b/devices/common_patches/l0_tim.yaml @@ -78,4 +78,4 @@ TIM*: CCR4: description: Low Capture/Compare 4 value bitOffset: 0 - bitWidth: 16 \ No newline at end of file + bitWidth: 16 diff --git a/devices/stm32g0b1.yaml b/devices/stm32g0b1.yaml index e7aa85cfc..8b434a4f5 100644 --- a/devices/stm32g0b1.yaml +++ b/devices/stm32g0b1.yaml @@ -96,6 +96,11 @@ UCPD*: _strip: - "UCPD_" +SPI1: + _modify: + "*": + size: 32 + _include: - ./common_patches/2_nvic_prio_bits.yaml - ../peripherals/dma/dma_v1.yaml diff --git a/devices/stm32g0c1.yaml b/devices/stm32g0c1.yaml index ddf2204cd..8dad0d5a1 100644 --- a/devices/stm32g0c1.yaml +++ b/devices/stm32g0c1.yaml @@ -104,6 +104,11 @@ UCPD?: _strip: - "UCPD_" +SPI1: + _modify: + "*": + size: 32 + _include: - ./common_patches/2_nvic_prio_bits.yaml - ../peripherals/dma/dma_v1.yaml diff --git a/peripherals/rng/rng_wl.yaml b/peripherals/rng/rng_wl.yaml index 2381f938b..717b18ecb 100644 --- a/peripherals/rng/rng_wl.yaml +++ b/peripherals/rng/rng_wl.yaml @@ -41,12 +41,17 @@ RNG: SEIS: NoFault: [0, "No faulty sequence detected"] Fault: [1, "At least one faulty sequence has been detected"] - CEIS,CECS: + CEIS: Correct: [0, "The RNG clock is correct (fRNGCLK> fHCLK/32)"] Slow: [1, "The RNG clock before internal divider has been detected too slow (fRNGCLK< fHCLK/32)"] SECS: - NoFault: [0, "No faulty sequence has currently been detected. If the SEIS bit is set, this means that a faulty sequence was detected and the situation has been recovered"] - Fault: [1, "At least one faulty sequence has been detected - see ref manual for details"] + _read: + NoFault: [0, "No faulty sequence has currently been detected. If the SEIS bit is set, this means that a faulty sequence was detected and the situation has been recovered"] + Fault: [1, "At least one faulty sequence has been detected - see ref manual for details"] + CECS: + _read: + Correct: [0, "The RNG clock is correct (fRNGCLK> fHCLK/32)"] + Slow: [1, "The RNG clock before internal divider has been detected too slow (fRNGCLK< fHCLK/32)"] DRDY: Invalid: [0, "The RNG_DR register is not yet valid, no random data is available"] Valid: [1, "The RNG_DR register contains valid random data"] diff --git a/scripts/makecrates.py b/scripts/makecrates.py index 29db9d661..f27c421fd 100644 --- a/scripts/makecrates.py +++ b/scripts/makecrates.py @@ -17,7 +17,7 @@ import yaml VERSION = "0.14.0" -SVD2RUST_VERSION = "0.23.0" +SVD2RUST_VERSION = "0.24.0" CRATE_DOC_FEATURES = { "stm32f0": ["rt", "stm32f0x0", "stm32f0x1", "stm32f0x2", "stm32f0x8"],Fetched URL: http://github.com/stm32-rs/stm32-rs/pull/733.diff
Alternative Proxies: