This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Image Size

Hi, I'm trying to build someone else's code and the size is above the 32kb allowed by the evaluation version.

I tried deleting some parts of the code which i'm not interested in and I could go from 37kb to 32.8kb and I can't go below that even if I delete more code. So that size must be specified somewhere in the project and I cannot find it.

I tried reducing sizes from option->target and nothing happened. Does someone have any idea on how or where can I look to solve this issue?

Thanks in advance

Parents
  • I checked that file and at the end of the image memory map I can see this

    Base Addr Size Type Attr Idx E Section Name Object
    0x10085c14 0x00000008 Data RW 782 .data lpc18xx_i2c.o
    0x10085c1c 0x000023e4 PAD
    0x10088000 0x00000020 Data RW 456 .ARM.__AT_0x10088000 rev.o

    what is that PAD? It has the largest size in the memory map

Reply
  • I checked that file and at the end of the image memory map I can see this

    Base Addr Size Type Attr Idx E Section Name Object
    0x10085c14 0x00000008 Data RW 782 .data lpc18xx_i2c.o
    0x10085c1c 0x000023e4 PAD
    0x10088000 0x00000020 Data RW 456 .ARM.__AT_0x10088000 rev.o

    what is that PAD? It has the largest size in the memory map

Children