|
@@ -1,7 +1,6 @@
|
|
|
unit ATmega1284RFR2;
|
|
|
-
|
|
|
-{$goto on}
|
|
|
-interface
|
|
|
+
|
|
|
+interface
|
|
|
|
|
|
var
|
|
|
PINA: byte absolute $20; // Port A Input Pins Address
|
|
@@ -1790,10 +1789,10 @@ const
|
|
|
RX_LENGTH6 = $06; // Received Frame Length
|
|
|
RX_LENGTH7 = $07; // Received Frame Length
|
|
|
|
|
|
-
|
|
|
-implementation
|
|
|
-
|
|
|
-{$i avrcommon.inc}
|
|
|
+
|
|
|
+implementation
|
|
|
+
|
|
|
+{$i avrcommon.inc}
|
|
|
|
|
|
procedure INT0_ISR; external name 'INT0_ISR'; // Interrupt 1 External Interrupt Request 0
|
|
|
procedure INT1_ISR; external name 'INT1_ISR'; // Interrupt 2 External Interrupt Request 1
|
|
@@ -1865,15 +1864,10 @@ procedure TRX24_AMI0_ISR; external name 'TRX24_AMI0_ISR'; // Interrupt 73 Addres
|
|
|
procedure TRX24_AMI1_ISR; external name 'TRX24_AMI1_ISR'; // Interrupt 74 Address match interrupt of address filter 1
|
|
|
procedure TRX24_AMI2_ISR; external name 'TRX24_AMI2_ISR'; // Interrupt 75 Address match interrupt of address filter 2
|
|
|
procedure TRX24_AMI3_ISR; external name 'TRX24_AMI3_ISR'; // Interrupt 76 Address match interrupt of address filter 3
|
|
|
-
|
|
|
-procedure _FPC_start; assembler; nostackframe;
|
|
|
-label
|
|
|
- _start;
|
|
|
-asm
|
|
|
- .init
|
|
|
- .globl _start
|
|
|
-
|
|
|
- jmp _start
|
|
|
+
|
|
|
+procedure _FPC_start; assembler; nostackframe; noreturn; public name '_START'; section '.init';
|
|
|
+ asm
|
|
|
+ jmp __dtors_end
|
|
|
jmp INT0_ISR
|
|
|
jmp INT1_ISR
|
|
|
jmp INT2_ISR
|
|
@@ -1944,8 +1938,6 @@ asm
|
|
|
jmp TRX24_AMI1_ISR
|
|
|
jmp TRX24_AMI2_ISR
|
|
|
jmp TRX24_AMI3_ISR
|
|
|
-
|
|
|
- {$i start.inc}
|
|
|
|
|
|
.weak INT0_ISR
|
|
|
.weak INT1_ISR
|