From 20b973daa0143d12e010a173971e476d22cc2afb Mon Sep 17 00:00:00 2001 From: dragonmux Date: Wed, 27 Jul 2022 21:21:28 +0100 Subject: [PATCH] lmi: Corrected the LM3S3748 RAM and Flash regions as they were mis-sized --- src/target/lmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/target/lmi.c b/src/target/lmi.c index d83844a..2b03c0f 100644 --- a/src/target/lmi.c +++ b/src/target/lmi.c @@ -86,8 +86,8 @@ bool lm3s_probe(target *const t, const uint16_t did1) t->driver = lmi_driver_str; switch (did1) { case 0x1049: /* LM3S3748 */ - target_add_ram(t, 0x20000000, 0x8000); - lmi_add_flash(t, 0x40000); + target_add_ram(t, 0x20000000U, 0x10000U); + lmi_add_flash(t, 0x20000U); break; default: t->driver = driver;