Set up dynamic memory in external RAM (specific address range)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Set up dynamic memory in external RAM (specific address range)

    Hi,

    We use emWin 3.96 for our graphic interface. The interface has grown up so much, and we are running out the memory of the microcontroller.

    We have and external RAM module and we'd like to set up emWin to use it for its dynamic memory management. ¿How can we do it?

    We use Renesas H8 MC and HEW (High Performance Embedded Workshop) IDE.
    Any Help Will be greatly appreciated ...
    BR,
    Raul
    Sallen Tech,S.L.
  • Hello Sallen,

    Using emWin V3.96 you will have to reconfigure the linker in order to make it store data in external RAM.

    If you want to let the emWin memory management use external RAM without having to reconfigure your linker, please consider updating emWin to a newer version.

    Best regards,
    Adrian
  • Thanks Adrian,
    Ok, we got to change linker options and we moved code and data to external ram.
    But emWin uses dynamic data and we want to move all these dinamic data managed by emWin to external RAM (windows and widgets structs). We think that this is not posible in linker options. It should be in emWin code instead?