Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sat Jun 03 00:22:44 2017 +0000
Revision:
46:b156ef445742
Parent:
18:6a4db94011d3
Final code for internal battlebot competition.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sahilmgandhi 18:6a4db94011d3 1
sahilmgandhi 18:6a4db94011d3 2 LR_IROM1 0x00000000 0x10000 { ; load region size_region
sahilmgandhi 18:6a4db94011d3 3 ER_IROM1 0x00000000 0x10000 { ; load address = execution address
sahilmgandhi 18:6a4db94011d3 4 *.o (RESET, +First)
sahilmgandhi 18:6a4db94011d3 5 *(InRoot$$Sections)
sahilmgandhi 18:6a4db94011d3 6 .ANY (+RO)
sahilmgandhi 18:6a4db94011d3 7 }
sahilmgandhi 18:6a4db94011d3 8 ; 8_byte_aligned(48 vect * 4 bytes) = 8_byte_aligned(0xC0) = 0xC0
sahilmgandhi 18:6a4db94011d3 9 ; 8KB - 0xC0 = 0x1F40
sahilmgandhi 18:6a4db94011d3 10 RW_IRAM1 0x100000C0 0x1F40 {
sahilmgandhi 18:6a4db94011d3 11 .ANY (+RW +ZI)
sahilmgandhi 18:6a4db94011d3 12 }
sahilmgandhi 18:6a4db94011d3 13 RW_IRAM2 0x20000000 0x800 { ; RW data
sahilmgandhi 18:6a4db94011d3 14 .ANY (AHBSRAM0)
sahilmgandhi 18:6a4db94011d3 15 }
sahilmgandhi 18:6a4db94011d3 16 RW_IRAM3 0x20004000 0x800 { ; RW data, USB RAM
sahilmgandhi 18:6a4db94011d3 17 .ANY (AHBSRAM1)
sahilmgandhi 18:6a4db94011d3 18 }
sahilmgandhi 18:6a4db94011d3 19 }