11.14.3 Default Memory Models

When a project is created, code and data models are set to ‘default’, meaning predetermined models based on the device selected will be used. These models may not be the best suited for the application.

To determine what the device default values are, build the project and find in the memory usage report and the generated link map file text specifying the default values.

Figure 11-5. Default Memory Models in the Memory Usage Report

Additionally the memory usage report and link map file will generate a note about using a small data memory model if a large data memory model is specified but a small data memory model is sufficient. In this case, selecting a small data model will reduce code size.

Figure 11-6. Note in the Memory Usage Report