Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
memory usage
#8
I use this linker flag to print out the memory usage of my STM32H7 project:
-Wl,--print-memory-usage

The output looks like this (in the Build log window):
Code:
Memory region         Used Size  Region Size  %age Used
        ITCM_RAM:          0 GB        64 KB      0.00%
        DTCM_RAM:       30136 B       128 KB     22.99%
         SRAM_D1:      463256 B       512 KB     88.36%
        SRAM1_D2:       98764 B       127 KB     75.94%
        ETH_DESC:         480 B         1 KB     46.88%
        SRAM2_D2:          0 GB       128 KB      0.00%
        SRAM3_D2:       32735 B        32 KB     99.90%
        SRAM4_D3:          0 GB        64 KB      0.00%
        BOOT_RAM:          16 B        256 B      6.25%
      BACKUP_RAM:          92 B       3840 B      2.40%
           FLASH:      975388 B         2 MB     46.51%
Reply


Messages In This Thread
memory usage - by Alex - 07-06-2022, 02:44 PM
RE: memory usage - by Alex - 07-06-2022, 05:04 PM
RE: memory usage - by embitz - 09-06-2022, 07:59 AM
RE: memory usage - by dalbert - 25-05-2023, 08:05 PM
RE: memory usage - by Alex - 09-06-2022, 03:18 PM
RE: memory usage - by PDonchev - 11-06-2022, 12:55 PM
RE: memory usage - by embitz - 26-05-2023, 10:21 AM
RE: memory usage - by Operton - 31-05-2023, 11:54 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)