There been some discoveries on this problem I want to share.
My main development plaform is Linux, as I posted before im using
gcc-4.5.3 there.
Out of curiosity I've installed WinAVR package on windows, built my
project and everything was ok with memory(!), means, RAM was not
bloated by using meth
Marcin S schrieb:
I never said this code does not compile.
It's text in square brackets. It describes the snipped-out text rather
then quoting all that lines.
using avr-gcc-4.5.3
build opts are:
avr-gcc -c -mmcu=atmega128 -x c++ -gdwarf-2 -DF_CPU=3686400UL -Os
-funsigned-char -funsigned-bi
I never said this code does not compile.
> Without code that can be compiled, without compiler version and compiler
> options it's just guessing around.
>
> As we have no code that compiles (noone has PanelPellet, CNapisy, ST_OFF
> ...) look at the genrated code and what takes the additional RAM.
Marcin S wrote:
Hello,
I'm trying to figure out what's wrong with this code, I have this
[bunch of code that does not compile]
When I use this method in my program then according to avr-size, RAM
memory usage jumps by 168 bytes! Why?
There may be all sorts of explanation for that.
Without co
Hello,
I'm trying to figure out what's wrong with this code, I have this
STATIC method in PanelPellet class
CNapisy::TTextId PanelPellet::getStateString(uint16_t state)
{
switch (state)
{
case ST_PRACA_RECZNA:
return CNapisy::IDT_TEXT_PRACA_R