Filling memory and vector table with RETI

Technical Note 20883

Architectures:

AVR

Component:

IDE

Updated:

2018/2/8 6:14

Introduction

In IAR Embedded Workbench for AVR, after turning on fill (Project Options -> Linker -> Processing Tab) you get:

Fatal Error[e38]: Option -H must not be defined more than once: -H1895

Possible solution

Disable "Initialize unused interrupt vectors with RETI instructions." (Project Options -> General Options -> System).

Background

Filling the interrupt vector table with RETI uses the same -H option, and only one is allowed.

很抱歉,该页面尚未翻译成中文。

如果您有任何问题,请联系我们的中国团队

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.