cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 with FreeRTOS – How to Handle Large Library

st-kye
Associate


Hello,

We are preparing a system based on STM32H7 series with FreeRTOS, and the memory configuration includes:

  • External SDRAM
  • External Serial Flash (QSPI)

We plan to use a large static library (.a) with code and data totaling several megabytes. We have the following questions:

Q1. Handling Large Static Libraries
What is the recommended way to use large .a libraries in STM32 environments?
Are there common approaches to load/execute them from external memory such as SDRAM?

Q2. Dynamic Loading via QSPI Flash and File System
Is it feasible to store the library as a binary file in QSPI Flash (with a file system), then load it into SDRAM at runtime and execute it dynamically ?

We’d appreciate any suggestions, best practices, or examples.

Thanks.

0 REPLIES 0