We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am writing some code for the nanomodul-164 based on the C164CI microcontroller. when I select 'Build Target' from the 'Project' menu I get the following error: C166 FATAL-ERROR - ACTION: PREPROCESSING INPUT FILE ERROR: INPUT FILE STACK OVERFLOWC166 TERMINATED. Does anyone know why this error pops up? Is it not finding the registry header files?I tried using DAVE to see if i was making a mistake but I cannot find anything. Any help would be appreciated
As an additional note I believe I have modified the SYSCON registry values accurately in the Start167.A66 file. I have included the modified file in the project and tried to build the target hex file, following the instructions in manual. I have not used the "L166 <your object file list>, START167.OBJ <controls>" command to link it to my application. Could this be aproblem? How do I perform the actual linking?
First off, your summary is quite misleading. You've got nowhere near building a hex file yet. You ran into an error several stages earlier: the preprocessing phase of the compiler.
The error message is actually quite clear. You overflowed the stack of input files in the preprocessor. Most likely you have an infinite recursion of files (indirectly) #including themselves.
Hans, Thanks for your reply. Unfortunately since I was not familiar with the error due to which my summary turned out to be misleading. A