Now, the static allocation will be used and dynamic allocation will be disabled. There is one more step to be done:

2. Exclude "heap_x.c" file from build

The Pex component will still link a heap_x.c file to the project at this point. You will need to exclude it by selecting it, right click -> Resource Configurations -> "Exclude from Build..." and select all options.

After this, the file should appear slightly greyed out and with a different icon, as below:

At this point, the setup is complete.

If you will need to use dynamic memory allocation as well, you will need to revert step 2 and remove the lines concerning configSUPPORT_DYNAMIC_ALLOCATION from the "User Settings" window.

Now, the static allocation will be used and dynamic allocation will be disabled. There is one more step to be done:

2. Exclude "heap_x.c" file from build

The Pex component will still link a heap_x.c file to the project at this point. You will need to exclude it by selecting it, right click -> Resource Configurations -> "Exclude from Build..." and select all options.

After this, the file should appear slightly greyed out and with a different icon, as below:

At this point, the setup is complete.

If you will need to use dynamic memory allocation as well, you will need to revert step 2 and remove the lines concerning configSUPPORT_DYNAMIC_ALLOCATION from the "User Settings" window.