Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑code_model

In this section:
Syntax
‑‑code_model={medlow|medany}
Parameters

medlow

Uses the Medlow (medium-low) code model.

medany (default)

Uses the Medany (medium-any) code model.

Description

Use this option to select the code model. If you do not select a code model, the assembler uses the default code model. Note that all modules of your application must be code model compatible—if you mix Medlow and Medany modules in your project, you must link all modules to the Medlow area.

Note

This option is only available for RV64 devices.

Caution

Project>Options>General Options>Target>Code model