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 0x80000 { ; load region size_region
sahilmgandhi 18:6a4db94011d3 3 ER_IROM1 0x00000000 0x80000 { ; 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(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8
sahilmgandhi 18:6a4db94011d3 9 ; 32KB - 0xC8 = 0x7F38
sahilmgandhi 18:6a4db94011d3 10 RW_IRAM1 0x100000C8 0x7F38 {
sahilmgandhi 18:6a4db94011d3 11 .ANY (+RW +ZI)
sahilmgandhi 18:6a4db94011d3 12 }
sahilmgandhi 18:6a4db94011d3 13 RW_IRAM2 0x2007C000 0x4000 { ; RW data, ETH RAM
sahilmgandhi 18:6a4db94011d3 14 .ANY (AHBSRAM0)
sahilmgandhi 18:6a4db94011d3 15 }
sahilmgandhi 18:6a4db94011d3 16 RW_IRAM3 0x20080000 0x4000 { ; RW data, ETH RAM
sahilmgandhi 18:6a4db94011d3 17 .ANY (AHBSRAM1)
sahilmgandhi 18:6a4db94011d3 18 }
sahilmgandhi 18:6a4db94011d3 19 RW_IRAM4 0x40038000 0x0800 { ; RW data, CAN RAM
sahilmgandhi 18:6a4db94011d3 20 .ANY (CANRAM)
sahilmgandhi 18:6a4db94011d3 21 }
sahilmgandhi 18:6a4db94011d3 22 }