Filling memory and vector table with RETI

Technical Note 20883

Arkitekturer:

AVR

Komponent:

IDE

Uppdaterad:

2018-02-08 06: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.

Det här innehållet finns tyvärr inte på svenska.

Vår webbplats finns främst på vårt koncernspråk engelska, förutom det innehåll för investerare som vi är lagstadgade att kommunicera på svenska. Vi rekommenderar att du besöker vår globala webbplats på engelska för att få en bättre upplevelse.

Vi stöder inte längre Internet Explorer. För att få bästa möjliga upplevelse av iar.com rekommenderar vi att du uppgraderar till en modern webbläsare som Chrome eller Edge.