I'm using Keil for 8-bit Silabs CPUs programming. I have some code, I should maintain further and it uses small data model. Code compiles and works fine. When I comment out one very big function from main loop (it is called only once there), I got many errors, saying data segment overflow. Can someone explain me the reason for such behavior ?
Thanks
Normal, since the 'tree' will miss the "very big function" the overlay locator for the variables will locate the variables for the " very big function " separately.
Thank you for reply- sounds reasonable. It makes me another question- how can I avoid that function only for the sake of debugging, which I prefer. And regarding that very same source I have some other question, which I would explain in new thread- hope you can help, also.
You can set aside any file. In the Project Window, right click on the selected file. Select 'Options for File ..'. You can turn ON/OFF options that will affect only the selected file such as do not build in target. Bradford