Skip to the content of the web site.

Configuring memory usage

Configuring memory usage in the LPC1768 processor may be done in two locations in the μVision integrated development environment (IDE):

  • in the start-up assembly file startup_LPC17xx.s, and
  • with Project→Options for Target 'Target'.

Stack and heap size

If you open the file startup_LPC17xx.s, you will note that you can select a Configuration Wizard as a tab at the bottom, as shown in Figure 1.


Figure 1. The open file startup_LPC17xx.s with two tabs: Text Editor and Configuration Wizard.

Now, it is possible to edit the file directly; however, the configuration wizard helps you by doing some rudimentary error checking.

These provide both the stack size and heap size of the

Note: the RL-FlashFS (flash file system) allows the number of open files to be set in configuration of File_Config.c