Skip to main content

IAR Embedded Workbench for RX 5.20

--data_model

In this section:
Syntax
--data_model={near|far|huge}
Parameters

near

Places variables and constant data in the lowest or highest 32 Kbytes of memory.

far (default)

Places variables and constant data in the lowest or highest 8 Mbytes of memory.

huge

Places variables and constant data anywhere in memory.

Description

Use this option to select the data model, which means a default placement of data objects. If you do not select a data model, the compiler uses the default data model. Note that all modules of your application must use the same data model.

See also

Data models.

Caution

Project>Options>General Options>Target>Data model