From b6bc42bebe11276a38ef61d9faa78bdd410ecd5b Mon Sep 17 00:00:00 2001 From: Hans Josephsen Date: Thu, 19 Sep 2024 20:48:57 +0200 Subject: [PATCH] fix rng peripheral versions for STM32H7 series --- stm32-data-gen/src/perimap.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stm32-data-gen/src/perimap.rs b/stm32-data-gen/src/perimap.rs index 7a2c2bdb9..4ef631002 100644 --- a/stm32-data-gen/src/perimap.rs +++ b/stm32-data-gen/src/perimap.rs @@ -31,7 +31,8 @@ pub static PERIMAP: RegexMap<(&str, &str, &str)> = RegexMap::new(&[ ("STM32F7.*:RNG:.*", ("rng", "v1", "RNG")), ("STM32L0.*:RNG:.*", ("rng", "v1", "RNG")), ("STM32L4.*:RNG:.*", ("rng", "v1", "RNG")), - ("STM32H7.*:RNG:.*", ("rng", "v1", "RNG")), + ("STM32H7[45].*:RNG:.*", ("rng", "v1", "RNG")), + ("STM32H7[23AB].*:RNG:.*", ("rng", "v2", "RNG")), ("STM32G0.*:RNG:.*", ("rng", "v1", "RNG")), ("STM32G4.*:RNG:.*", ("rng", "v1", "RNG")), ("STM32WB.*:RNG:.*", ("rng", "v1", "RNG")),