simbit18 opened a new pull request, #17169:
URL: https://github.com/apache/nuttx/pull/17169

   ## Summary
   
   Compiling with --print-memory-usage always shows 100% RAM
   
   bug https://github.com/raspberrypi/pico-sdk/issues/1871
   
   same as this PR https://github.com/apache/nuttx/pull/16253
   
   ## Impact
   
   Impact on user: NO
   
   Impact on build: NO
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   xiao-rp2350:nsh
   
   **Before**
   ```
   IN: libs/libc/libc.a -> staging/libc.a 
   
   CPP:  
/github/workspace/sources/nuttx/boards/arm/rp23xx/xiao-rp2350/scripts/memmap_default.ld->
 
/github/workspace/sources/nuttx/boards/arm/rp23xx/xiao-rp2350/scripts/memmap_default.ld.tmp
 
   LD: nuttx
   arm-none-eabi-ld: warning: /github/workspace/sources/nuttx/nuttx has a LOAD 
segment with RWX permissions
   Memory region         Used Size  Region Size  %age Used
              FLASH:      146924 B         2 MB      7.01%
                RAM:        512 KB       512 KB    100.00%
          SCRATCH_X:          0 GB         4 KB      0.00%
          SCRATCH_Y:          0 GB         4 KB      0.00%
   Generating: nuttx.uf2
   Done.
   ```
   
   **After**
   
   ```
   IN: libs/libc/libc.a -> staging/libc.a 
   
   CPP:  
/github/workspace/sources/nuttx/boards/arm/rp23xx/xiao-rp2350/scripts/memmap_default.ld->
 
/github/workspace/sources/nuttx/boards/arm/rp23xx/xiao-rp2350/scripts/memmap_default.ld.tmp
 
   LD: nuttx
   arm-none-eabi-ld: warning: /github/workspace/sources/nuttx/nuttx has a LOAD 
segment with RWX permissions
   Memory region         Used Size  Region Size  %age Used
              FLASH:      146916 B         2 MB      7.01%
                RAM:       13268 B       512 KB      2.53%
          SCRATCH_X:          0 GB         4 KB      0.00%
          SCRATCH_Y:          0 GB         4 KB      0.00%
   Generating: nuttx.uf2
   Done.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to