Forum: Mikrocontroller und Digitale Elektronik CodeVision 2.03.4 .cof Datei mit allen #include Dateien


von Karl O. (charly56)


Lesenswert?

Bitte um Hilfe!!!!!!!!!! Wie kann ich bei CodeVision 2.03.4 alle 
#include Dateien in die die .cof Datei packen, damit ich sie im AVR- 
Studio debuggen kann. Bisher ist es mir nur gelungen die main- Datei ins 
AVR- Studio zu transferieren. Möchte aber auch die Register in den 
restlichen Dateien beobachten. Ich weiß bei älteren CodeVision Versionen 
wurden alle Datein an die main zu einer langen Wurst angehängt, nur wie 
geht das bei CodeVision 2.03.4?????????????????

von Thomas (Gast)


Lesenswert?

Hallo,
ich hatte das gleiche Problem und habe diese Antwort bekommen, die auch 
die Lösung brachte.

[..]
The __.c file is not needed anymore as reference to the project's .c 
files is stored in the .COF object file.
During debugging AVR Studio will open the required .C project's files as 
needed.
For this to happen, you must make sure that the .C program modules are 
added in the Project|Configure|Files|Input list.
Of course as the .C files are added in the above list, you must NOT 
#include them in other .C files of the project, otherwise they will be 
compiled/linked TWICE, which will lead to errors.
[..]


Gruss

Thomas

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.