|
Re: huh, anyone ever get this compiling error?
The PIC18F's memory is divided into banks by the linker, which by default are 256 bytes in length for each one. By allocating an array that large on the stack, along with other declarations, you're likely overrunning one of the banks. You might want to try working with a smaller buffer, or editing the 18f8722.lkr linker script to make the data banks larger (be careful when you do that).
__________________
One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.
|