Type: Integer (0 = dynamic, 1 = static)
Default: 0
Defines whether you are using a dynamic or static memory model.
-
Dynamic—Memory is allocated and then freed as soon as possible, which keeps the memory use at any one time to a minimum. Memory management overhead might result in some jitter and reduced performance, but applications with a dynamic memory model have the smallest footprint possible.
-
Static—No memory allocation occurs while the application is running. All variables are declared as static in the generated C code and allocated prior to the main entry point. Static memory can provide good performance and low jitter, but static memory models might require more memory than other memory models.