Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
2012 / MISRA / EW_MisraCReference.pdf
Скачиваний:
129
Добавлен:
10.02.2015
Размер:
650.9 Кб
Скачать

Compiler options

This chapter describes the MISRA C compiler options available in the

IAR Embedded Workbench®.

For information about how to set options, see the IAR Embedded Workbench®

IDE User Guide.

MISRA C

Use these options to override the options set on the MISRA C page of the General Options category.

Figure 2: MISRA C compiler options

OVERRIDE GENERAL MISRA C SETTINGS

Select this option if you want the compiler to check a different selection of rules than the rules selected in the General Options category.

3

MISRA C

SET ACTIVE MISRA C RULES

Only the rules that have been selected in the scroll list will be checked during

compilation. To select or deselect several rules with one click, click one of the buttons None, Required, All, or Restore. The Required button selects all 93 rules that are categorized by the Guidelines for the Use of the C Language in Vehicle Based Software as required and deselects the rules that are categorized as advisory. The Restore button restores the MISRA C settings used in the General Options category.

IAR Embedded Workbench® MISRA C

4 Reference Guide

Соседние файлы в папке MISRA