simbit18 opened a new pull request, #17164: URL: https://github.com/apache/nuttx/pull/17164
## Summary Compiling with --print-memory-usage always shows 100% RAM bug [raspberrypi/pico-sdk#1871](https://github.com/raspberrypi/pico-sdk/issues/1871) same as this PR #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 pimoroni-pico-2-plus:nsh **Before** ``` IN: libs/libc/libc.a -> staging/libc.a CPP: /github/workspace/sources/nuttx/boards/arm/rp23xx/pimoroni-pico-2-plus/scripts/memmap_default.ld-> /github/workspace/sources/nuttx/boards/arm/rp23xx/pimoroni-pico-2-plus/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: 146964 B 16 MB 0.88% 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/pimoroni-pico-2-plus/scripts/memmap_default.ld-> /github/workspace/sources/nuttx/boards/arm/rp23xx/pimoroni-pico-2-plus/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: 146972 B 16 MB 0.88% RAM: 13340 B 512 KB 2.54% 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]
