Is it possible to reduce GUIX repository to fit in STM32H7 MCU?

Sean Liming 4,511 Reputation points
2023-09-20T21:10:25.86+00:00

I have created a GUIX application and tested it on Windows. The functionality is working. The next step is to move the application to a STM32 platform. I am using the STM32H747-DISCO platform. the STM32CUBEIDE is set up with the GUIX repository for ARM M7. The build blows out the available SRAM (.bss) section by over 275K.

Is there a practical way to strip out the unneeded GUIX repository files to fit the application in SRAM?

Or is there a recommend way to use SDRAM as memory?

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
326 questions
{count} votes

Accepted answer
  1. LeelaRajeshSayana-MSFT 13,871 Reputation points
    2023-10-04T21:38:26.89+00:00

    Hi @Sean Liming I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Issue:

    Setting a GUIX application on STM32H747-DISCO blows out the available SRAM (.bss) section by over 275K.

    Solution:

    GUIX Studio has options to allocate canvas memory. Works well for a Windows app, but not needed to be set at this point when running on an MCU.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    I hope this helps!

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sean Liming 4,511 Reputation points
    2023-10-04T21:01:55.3666667+00:00

    Issue resolved. GUIX Studio has options to allocate canvas memory. Works well for a Windows app, but not needed to be set at this point when running on an MCU.

    1 person found this answer helpful.
    0 comments No comments