hii...
I wanna know ...
Is function name effect on memory of micro......
I mean if I have to print a string on lcd and I named the function as...
1. void print(char string[])
2. void print_string_to_display_on_lcd(char string[])
then either both will take same memory of Rom or different memory....
I am only talking about memory taken by function name.....
Depends a lot on your compiler and how you configure your project.
You can usually choose to compile with symbols (bigger program) which you do while debugging
and then strip symbols when compiling for distribution resulting in smaller code.
If you cant debug because of memory shortage you can often compile sections of your
code - test/debug them individually then compile with stripped symbols when it all works.
Just be careful the sections you create dont interact and create bugs - and test thoroughly after.
There are different ways to do this depending on your compiler/environment.
Depending on what you are doing it can often be easier to just use a device with more memory to start with.