This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uncalled Segment/DATA overflow


Does anyone know how to avoid a data segment overflow caused by the local data for uncalled functions being permanently allocated? Better still to prevent such functions being included in the final output at all?

I am using Keil C51 V6.

Thanks
Simon Fisher

Parents
  • How about some #ifs to prevent building functions not required for the particular project?

    Or maybe move the functions to separate files, so that each project only includes those files which it actually needs.

    Otherwise, my previous suggestions of moving the locals or manually adjusting the overlaying?

Reply
  • How about some #ifs to prevent building functions not required for the particular project?

    Or maybe move the functions to separate files, so that each project only includes those files which it actually needs.

    Otherwise, my previous suggestions of moving the locals or manually adjusting the overlaying?

Children
No data