Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sun May 14 23:18:57 2017 +0000
Revision:
18:6a4db94011d3
Publishing again

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sahilmgandhi 18:6a4db94011d3 1 ;SAMR21G18A
sahilmgandhi 18:6a4db94011d3 2 ;256KB FLASH (0x40000) @ 0x000000000
sahilmgandhi 18:6a4db94011d3 3 ;2KB RAM (0x8000) @ 0x20000000
sahilmgandhi 18:6a4db94011d3 4
sahilmgandhi 18:6a4db94011d3 5
sahilmgandhi 18:6a4db94011d3 6 ;SAMR21G18A: 256KB FLASH (0x40000) + 32KB RAM (0x8000)
sahilmgandhi 18:6a4db94011d3 7 LR_IROM1 0x00000000 0x40000 { ; load region size_region
sahilmgandhi 18:6a4db94011d3 8 ER_IROM1 0x00000000 0x40000 { ; load address = execution address
sahilmgandhi 18:6a4db94011d3 9 *.o (RESET, +First)
sahilmgandhi 18:6a4db94011d3 10 *(InRoot$$Sections)
sahilmgandhi 18:6a4db94011d3 11 .ANY (+RO)
sahilmgandhi 18:6a4db94011d3 12 }
sahilmgandhi 18:6a4db94011d3 13
sahilmgandhi 18:6a4db94011d3 14 ; [RAM] Vector table dynamic copy: 44 vectors * 4 bytes = (0xB0) - alignment
sahilmgandhi 18:6a4db94011d3 15 RW_IRAM1 (0x20000000+0xB0) (0x8000-0xB0) { ; RW data
sahilmgandhi 18:6a4db94011d3 16 .ANY (+RW +ZI)
sahilmgandhi 18:6a4db94011d3 17 }
sahilmgandhi 18:6a4db94011d3 18
sahilmgandhi 18:6a4db94011d3 19 }