diff --git a/.gitattributes b/.gitattributes index 75b3309cc2..bcc3ef34eb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8524,6 +8524,7 @@ rtl/embedded/avr/attiny9.pp svneol=native#text/plain rtl/embedded/avr/avrcommon.inc svneol=native#text/plain rtl/embedded/avr/avrsim.pp svneol=native#text/plain rtl/embedded/avr/start.inc svneol=native#text/plain +rtl/embedded/avr/start_noram.inc svneol=native#text/pascal rtl/embedded/buildrtl.lpi svneol=native#text/plain rtl/embedded/buildrtl.pp svneol=native#text/plain rtl/embedded/check.inc svneol=native#text/plain diff --git a/rtl/embedded/avr/attiny28.pp b/rtl/embedded/avr/attiny28.pp index bb1ab52048..e07e254608 100644 --- a/rtl/embedded/avr/attiny28.pp +++ b/rtl/embedded/avr/attiny28.pp @@ -107,7 +107,7 @@ label rjmp TIMER0_OVF_ISR rjmp ANA_COMP_ISR - {$i start.inc} + {$i start_noram.inc} .weak INT0_ISR .weak INT1_ISR diff --git a/rtl/embedded/avr/start_noram.inc b/rtl/embedded/avr/start_noram.inc new file mode 100644 index 0000000000..7656062acc --- /dev/null +++ b/rtl/embedded/avr/start_noram.inc @@ -0,0 +1,10 @@ + _start: + clr r1 + +{$ifdef RELBRANCHES} + rjmp PASCALMAIN +{$else RELBRANCHES} + jmp PASCALMAIN +{$endif RELBRANCHES} + .text +