|
发表于 2014-12-12 22:56:43
|
显示全部楼层
>IAR效率很高的,4K的代码差不多相当于ICC的6~8K了~
It depends, I recently have a project with Attiny26. In the beginning IAR generate the smallest Flash code but used lots of RAM. As the code size increasing, IAR is out due to Running out of RAM. ICC is poor in Flash usage. And the winner is GCC AVR, which has a balance performance for both RAM and Flash. So for Attiny26 Level of AVR MCU, the first choice is GCC.
If a MCU has lots of RAM, then take IAR since it generates the smallest Flash image. |
|