region `SRAM' overflowed by 4372 bytes

Sysprogs forums Forums VisualGDB region `SRAM' overflowed by 4372 bytes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25492
    Johanan
    Participant

    Got this linker error about memory overflow, I am looking for the linker map file (list of variables, their size and address) so I will be able to remove some of it or to relocate to external memory. Where is this file? (STM32F4)

    Thanks

    • This topic was modified 5 years, 3 months ago by Johanan.
    #25494
    support
    Keymaster

    Hi,

    The easiest way to do it would be to temporarily edit the linker script file (see the Build page of VisualGDB Project Properties to copy it to the project directory), increasing the memory size to avoid the link error, and then to use the Embedded Memory Explorer for a detailed overview of the memory utilization.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.