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

jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit f3d689638b7e860c8f6cb22bc130b623d1eaba7b
Author: Jerzy Kasenberg <jerzy.kasenb...@codecoup.pl>
AuthorDate: Fri Mar 15 12:34:32 2024 +0100

    mcu/pic32: Move .sdata2 section to ram
    
    .sdata2. section is meant to be placed in RAM not in
    flash.
    
    Now .sdata2 has no destination specified and is manged
    by linker internally.
    
    Signed-off-by: Jerzy Kasenberg <jerzy.kasenb...@codecoup.pl>
---
 hw/mcu/microchip/pic32mz/p32mz_app.ld | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mcu/microchip/pic32mz/p32mz_app.ld 
b/hw/mcu/microchip/pic32mz/p32mz_app.ld
index 3f09690bc..0af636b86 100644
--- a/hw/mcu/microchip/pic32mz/p32mz_app.ld
+++ b/hw/mcu/microchip/pic32mz/p32mz_app.ld
@@ -1613,7 +1613,7 @@ SECTIONS
   {
     *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
     . = ALIGN(4) ;
-  } >kseg0_program_mem
+  }
   /*
    * Uninitialized constant global and static data (i.e., variables which will
    * always be zero).  Again, this is different from .sbss, which contains

Reply via email to