问题:
..\OBJ\MALLOC.axf: Error: L6220E: Load region LR_IROM1 size (524748 bytes) exceeds limit (524288 bytes). Region contains 332 bytes of padding and 0 bytes of veneers (total 332 bytes of linker generated content).
只读ROM超过512K的限制。
LR_IROM1 : load region
Program Size: Code=204486 RO-data=316534 RW-data=3868 ZI-data=930876
Program Size: Code=204486 RO-data=316534 RW-data=3868 ZI-data=931132
Program Size: Code=204486 RO-data=316534 RW-data=3868 ZI-data=931644
CODE+RO-data <= flash 512K
RW-data + ZI-data <=SRAM 1M
STM32F103ZET6
片上资源:
FLASH:512K (0x80000)(0x0800 0000 ---0x0808 0000) 主存:256页,每页2K,共512K
SRAM:64K (0x10000)(0x2000 0000 ---0x2001 0000)