This is an automated email from Gerrit.

"Andrew Lalaev <andrey.lal...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7520

-- gerrit

commit f47b7826685c3e3ca8015388af79c57fa3b820bb
Author: Andrew Lalaev <andrey.lal...@gmail.com>
Date:   Sun Mar 5 20:36:32 2023 +0100

    flash/nor/at91samd: fix RAM size for SAMR34/35
    
    According to the datasheets these MCUs have 32Kb RAM.
    
    Signed-off-by: Andrew Lalaev <andrey.lal...@gmail.com>
    Change-Id: I52b8a0c86035bccd6f3c1a478bb2e558bca4ae86

diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c
index 33e86c76e9..b3252e8704 100644
--- a/src/flash/nor/at91samd.c
+++ b/src/flash/nor/at91samd.c
@@ -243,8 +243,8 @@ static const struct samd_part saml21_parts[] = {
        { 0x1F, "SAMR30E18A", 256, 32 },
 
     /* SAMR34/R35 parts have integrated SAML21 with a lora radio */
-       { 0x28, "SAMR34J18", 256, 32 },
-       { 0x2B, "SAMR35J18", 256, 32 },
+       { 0x28, "SAMR34J18", 256, 40 },
+       { 0x2B, "SAMR35J18", 256, 40 },
 };
 
 /* Known SAML22 parts. */

-- 

Reply via email to