Making some code external with PropGCC
n_ermosh
Posts: 294
I am working on a project which involves a large function (~10KB when compiled with CMM) that only needs to be called once during initialization. To save space for the rest of the code, I want to store this in an external 64k EEPROM, then retrieve it when I need to execute it. Is this possible? If so, how do I compile the code/link it with the main program that is CMM?
Comments
You'd have to use function pointers, but a couple well-documented examples would make it easy enough for the intermediate user.
That would probably require a significant rewrite, I know. Don't kill me, I'm just brainstorming