![]() |
Non Overlay and absolute? Help.
I keep getting this message when I try to build the project
Quote:
|
Re: Non Overlay and absolute? Help.
That's an interesting one.
That's declared in ifi_startup.c and is the RESET_VECTOR The error occurs if: Code:
#pragma code _entry_scn=RESET_VECTORDid you by any chance #include "ifi_startup.c" anywhere? |
Re: Non Overlay and absolute? Help.
Hmm..thats interesting.
Now I've got the same error but different place. Quote:
Its now within the user_routines_fast.c (Thats the only place where "#pragma code InterruptVectorLow" is.) Quote:
|
Re: Non Overlay and absolute? Help.
Quote:
Now you have #include "user_routines_fast.c" somewhere... The real answer is to #include .h files only. .h files usually only reference things that will be defined elsewhere and the names won't conflict if they are mentioned in more than one file. It just lets the different files know they are talking about the same "thing." .c files on the other hand actually create "things" and if you try creating the same thing twice (by including the .c file) the compiler won't know which of two routine "x"'s you really wanted it to execute. |
Re: Non Overlay and absolute? Help.
Thanks that helped but now I'm getting:
Quote:
Quote:
|
Re: Non Overlay and absolute? Help.
After a fun round of re-downloading the default code i have finally gotten it to work. Thank you very much for your help. I know who to contact if I have any more difficulties. :D
|
Re: Non Overlay and absolute? Help.
Quote:
It's always your own code that drives you nuts! Good Luck! |
| All times are GMT -5. The time now is 15:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi