PIC24F08KA101 Link Error: Could not allocate program memory[解决办法]

使用 mplab x 3.5 验证SM4 的时间成本时遇到:

build/default/production/_ext/1472/sm4.o: Link Error: Could not allocate section .text, size = 2260 PC units, attributes = code 
Link Error: Could not allocate program memory

目前有两种方案:

1)删除不相关代码

2)工程配置优化级别为s

posted @ 2015-07-01 13:57  阿青1987  阅读(1098)  评论(0编辑  收藏  举报