You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/08/11 11:00:23 UTC

(nuttx) branch master updated: board/lm3s6965-ek: restore 128K kflash

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 76b58e4af0 board/lm3s6965-ek: restore 128K kflash
76b58e4af0 is described below

commit 76b58e4af06234ebd969251c6191e75b4c869aee
Author: Yanfeng Liu <yf...@qq.com>
AuthorDate: Sun Aug 11 10:15:52 2024 +0800

    board/lm3s6965-ek: restore 128K kflash
    
    This reverts both 2afdcfb6a6 and 0a0af89de9 to restore the 128K kflash
    design as the implementation depends on that to work, checked with:
    
    ```
    $ qemu-system-arm -M lm3s6965evb -nographic -device \
        loader,file=nuttx.bin,addr=0x0 -device \
        loader,file=nuttx_user.bin,addr=0x2000
    ```
    
    Signed-off-by: Yanfeng Liu <yf...@qq.com>
---
 boards/arm/tiva/lm3s6965-ek/scripts/memory.ld | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/arm/tiva/lm3s6965-ek/scripts/memory.ld b/boards/arm/tiva/lm3s6965-ek/scripts/memory.ld
index 9bb7703419..acc84a83d6 100644
--- a/boards/arm/tiva/lm3s6965-ek/scripts/memory.ld
+++ b/boards/arm/tiva/lm3s6965-ek/scripts/memory.ld
@@ -26,8 +26,8 @@ MEMORY
 {
     /* 256Kb FLASH */
 
-  kflash (rx)      : ORIGIN = 0x00000000, LENGTH = 124K
-  uflash (rx)      : ORIGIN = 0x0001f000, LENGTH = 132K
+  kflash (rx)      : ORIGIN = 0x00000000, LENGTH = 128K
+  uflash (rx)      : ORIGIN = 0x00020000, LENGTH = 128K
   xflash (rx)      : ORIGIN = 0x00040000, LENGTH = 0K
 
     /* 64Kb of contiguous SRAM */