Start a conversation

PIC16F "Not enough ROM space" error

In some projects when you try to compile the code, there can be an error "Not enough ROM space" when you add a single additional line of code, even if before you added it you saw you have more than enough free memory.

This error might occur if you have some large functions in your code.

Please refer to the PIC16F specifics, you can find them in our Help file as well. It is suggested to organize code into more smaller functions, since PIC16 can't support more than 2000 instructions per page.

Here is the link that explains it further:

Choose files or drag and drop files
Was this article helpful?
  1. Dusan Poluga

  2. Posted