ron
Junior Member level 3
I*A*R for AVR Problem...
Hi all.
Am currently using I*A*R C compiler for AVR AT90S8515 and have a problem.
When I call one of my routines with for example the line:
lcd_print("This is a test message");
I am finding that the compiler is using up 1 byte of RAM for every character in the message. In my program I am displaying many messages using the above format, and am therefore finding that I have no RAM left, and the compiler is therefore saying so too !
How can I stop the compiler from putting anything in quotes in RAM too, and just keep it in the Flash ??? I need my RAM back !!!
Have tried messing about with the project options but cant seem to cure the problem by the way.
Hope you can help.
Thanks.
Ron.
Hi all.
Am currently using I*A*R C compiler for AVR AT90S8515 and have a problem.
When I call one of my routines with for example the line:
lcd_print("This is a test message");
I am finding that the compiler is using up 1 byte of RAM for every character in the message. In my program I am displaying many messages using the above format, and am therefore finding that I have no RAM left, and the compiler is therefore saying so too !
How can I stop the compiler from putting anything in quotes in RAM too, and just keep it in the Flash ??? I need my RAM back !!!
Have tried messing about with the project options but cant seem to cure the problem by the way.
Hope you can help.
Thanks.
Ron.