| Line 12... |
Line 12... |
| 12 |
void JumpToTheInterrupt() // Jump to the Interrupt Handler |
12 |
void JumpToTheInterrupt() // Jump to the Interrupt Handler |
| 13 |
{ #asm GOTO FLASH_BLOCK_SIZE #endasm } |
13 |
{ #asm GOTO FLASH_BLOCK_SIZE #endasm } |
| 14 |
#ORG 6,FLASH_BLOCK_SIZE-1 {} // First Flash block is reserved |
14 |
#ORG 6,FLASH_BLOCK_SIZE-1 {} // First Flash block is reserved |
| 15 |
|
15 |
|
| 16 |
|
16 |
|
| 17 |
#ORG LOADER_RESERVED,getenv("PROGRAM_MEMORY")-12 auto=0 |
17 |
#ORG LOADER_RESERVED,getenv("PROGRAM_MEMORY")-1 auto=0 |
| 18 |
#SEPARATE |
18 |
#SEPARATE |
| 19 |
void dummy_main() // Main on the fix position |
19 |
void dummy_main() // Main on the fix position |
| 20 |
{ |
20 |
{ |
| 21 |
reset_cpu(); |
21 |
reset_cpu(); |
| 22 |
} |
22 |
} |
| 23 |
|
- |
|