Dennoch, habe ich damit folgendes Problem: nach Anlegen ein neues Projekt damit und dann laden in Atmel Studio 6, scheitert das Kompilieren.
OK, vielleicht liegt es daran, dass ich noch mit Atmel Studio 6.0 arbeite. Also, 6.2 frisch installiert, alle updates dazu ausgeführt, und auch noch die EFL Downloads frisch "installiert". Neuer Versuch scheitert mit gleicher Fehler:
make: *** No rule to make target `Common/BoardpinEFL.o', needed by `ElektorShieldADC.elf'. Stop.
Im Solution Explorer sieht alles OK aus
Noch was anders versuchen: in AS6.2, mit Tools->Create Project from Makefile ausgeführt und dabei das im Unterverzeichnis "Debug" erzeugte Makefile ausgewählt. Wieder ein tadellos aussehende Solution, die sich nicht kompilieren last.
Das kann aber doch nicht die Lösung sein.
- Code: Select all
## all the EFL-Common files have to be copied in the project folder and have to be registered in the cproj file as XML-elements
<SET RName='Includes' ></SET>
<SET Array='True' RName='File' RS='Files' >
Source\Common\BoardpinEFL.c;
Source\Common\BoardpinEFL.h;
Source\Common\CommonEFL.h;
Source\Common\ControllerDefinesEFL.h;
Source\Common\ConfigEFL.c;
Source\Common\ConfigEFL.h;
Source\Common\MapEFL.c;
Source\Common\MapEFL.h;
Source\Common\ProtocolEFL.c;
Source\Common\ProtocolEFL.h;
Source\Common\RingBufferEFL.c;
Source\Common\RingBufferEFL.h;
Source\Common\SchedulerEFL.c;
Source\Common\SchedulerEFL.h;
</SET>
## copy the common-files in the project folder and extend the XML-element for the cproj-file to include the common-files
<FOREACHROW Of='Files' >
<SET RName='FileTarget' >@{Add(Common,\,RightSplitRev(@File,\))}</SET>
<SET RName='Includes' >@{Add(@Includes,Xml(Compile,Include,@FileTarget,Xml(SubType,compile)))}</SET>
<FILERC PathOld='@{Add(@txtEFLFolder,@File)}' PathNew='@{Add(@txtTargetFolder,@txtAppName,\,@txtAppName,\,@FileTarget)}' CopyFile='True' ></FILERC>
</FOREACHROW>
########################################################################################################################################
## the following EFL Library files have to be copied in the project folder and have to be registered in the cproj file as XML-elements
<SET Array='True' RName='File' RS='Files' >
Source\Libraries\LEDButtonEFL.h;
Source\Libraries\LEDButtonEFL.c;
</SET>
Leider verstehe ich diese Skriptsprache nicht und weiß nicht wie ich das debuggen kann. Offenbar läuft da was schief, aber ich weiß nicht was. Kann mir dabei jemand behilflich sein?
Vielen Dank für jede Hilfe,
