|
发表于 2014-12-12 00:37:38
|
显示全部楼层
本帖最后由 funnynypd 于 2014-12-12 00:39 编辑
>之前用的ICCAVR,现在改用IAR啦。
I am on the opposite direction. IAR uses too much RAM with Less Flash. This is a pain of the neck if you using Attiny26, which has very limited RAM.
So Far, the GCC AVR doesn't let me down yet. So disappointing for IAR AVR.
For IAR AVR, when program size is growing, the following error shows up, and you are dead:
"Error[e16]: Segment RSTACK (size: 0x8 align: 0) is too long for segment definition. At
least 0x6 more bytes needed. The problem occurred while processing the segment placement
command "-Z(DATA)RSTACK+_..X_RSTACK_SIZE=_..X_RSTACK_BASE-_..X_RSTACK_END", where at the
moment of placement the available memory ranges were "DATA:de-df"
Reserved ranges relevant to this placement:
DATA:60-8f TINY_I
DATA:90-aa TINY_Z
DATA:ab-bd TINY_N
DATA:be-dd CSTACK
DATA:de-df RSTACK
"
The Error [e16] is so typical and cannot be resolved. |
|