Added a read back to the i2c write utility
[keystone-rtos/ibl.git] / src / util / i2cWrite / i2cWrite.cmd
2 i2cWrite.oc
3 ../../hw/c64x/make/i2c.oc
5 -c
6 -a
7 -stack 0x400
10 MEMORY
11 {
12         I2C_DAT  :  origin = 0x800000  length = 0x10000
13         I2C_READ :  origin = 0x810000  length = 0x10000
14         L2       :  origin = 0x820000  length = 0x10000
16 }
18 SECTIONS
19 {
20         .i2cData > I2C_DAT
21         .i2cRead > I2C_READ
22         .stack   > L2
23         .heap    > L2
24         .text    > L2
25         .cinit   > L2
26         .const   > L2
27         .far     > L2
28         .sysmem  > L2
29         .cio     > L2
30         .switch  > L2
32 }