This is an automated email from Gerrit.

"Karl Palsson <ka...@tweak.net.au>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/6526

-- gerrit

commit 4256ccb0ccad05a91abf599c0301ae2b2c78c47d
Author: Karl Palsson <ka...@tweak.net.au>
Date:   Wed Sep 1 09:17:30 2021 +0000

    flash: stm32l4x: Add ID 0x494 for STM32WB1x
    
    Extracted from RM0478rev3 and RM0473rev4.
    Covers both 15xx and 10xx value line parts.
    
    Change-Id: I7668803b04119c274ae182bb7e86efe158d00933
    Signed-off-by: Karl Palsson <ka...@tweak.net.au>

diff --git a/src/flash/nor/stm32l4x.c b/src/flash/nor/stm32l4x.c
index 3c055616f..7be62c28a 100644
--- a/src/flash/nor/stm32l4x.c
+++ b/src/flash/nor/stm32l4x.c
@@ -331,6 +331,10 @@ static const struct stm32l4_rev stm32_482_revs[] = {
        { 0x1000, "A" }, { 0x1001, "Z" }, { 0x1003, "Y" }, { 0x2000, "B" },
 };
 
+static const struct stm32l4_rev stm32_494_revs[] = {
+       { 0x2000, "B" },
+};
+
 static const struct stm32l4_rev stm32_495_revs[] = {
        { 0x2001, "2.1" },
 };
@@ -524,6 +528,18 @@ static const struct stm32l4_part_info stm32l4_parts[] = {
          .otp_base              = 0x0BFA0000,
          .otp_size              = 512,
        },
+       {
+         .id                    = 0x494,
+         .revs                  = stm32_495_revs,
+         .num_revs              = ARRAY_SIZE(stm32_495_revs),
+         .device_str            = "STM32WB1xxx",
+         .max_flash_size_kb     = 320,
+         .flags                 = F_NONE,
+         .flash_regs_base       = 0x58004000,
+         .fsize_addr            = 0x1FFF75E0,
+         .otp_base              = 0x1FFF7000,
+         .otp_size              = 1024,
+       },
        {
          .id                    = 0x495,
          .revs                  = stm32_495_revs,

-- 

Reply via email to