Hi Elliott, On 01/29/2011 12:52 AM, Elliott Chapin wrote: > C:\amf\core\devices/atmega328/device.asm(6): error: Cannot find include > file: m328def.inc > > Searched the package - no result. > > My experimental replacement line: .include "devices/atmega328/device.inc" > > Then a lot of msg's like this: > C:\amf\core\devices/atmega328/device.inc(6): error: Illegal use of > undefined or forward referenced symbol 'WANT_AD_CONVERTER' in conditional. > > The closest to the 328 in the AvrS debugger choice menu is the 328P. My > reading suggests that this shouldn't make any difference here, but ... > >
After reading several of your mails, it seems to me that you are not properly setting up an amforth project ... If you download amforth from the svn repo $ svn co https://amforth.svn.sourceforge.net/svnroot/amforth the following direcories will appear amforth/applications/ amforth/incubator/ amforth/refcard.pdf amforth/releases/ amforth/trunk/ go down the tree into the latest release, e.g.: $ cd amforth/releases/4.2/appl There you will find a directory called "template". make a full copy of that to a new name, e.g.: $ cp -a template myproject_1 go there $ cd myproject_1 clean out .svn directories, otherwise it will confuse subversion: $ rm -fR .svn words/.svn You will be left with the following files: ./build.xml -- an ant script, if you prefer ant over make ./dict_appl_core.inc -- asm words to be included into the NRWW section of flash ./template.asm -- the file to setup amforth for myproject_1 ./dict_appl.inc -- asm words to be included into amforth for myproject_1 ./words/applturnkey.asm -- the asm word applturnkey will start the amforth on reset ./makefile -- use make to build everything Now you need to edit makefile or build.xml, and template.asm to fit your environment. The "missing" file m328def.inc is not part of amforth. These files are provided by Atmel. you need to download AvrStudio4 from Atmel, unfortunately with registration. In there is a directory "AvrAssembler2/Appnotes". This is referenced by a variable in makefile and needs to be included into the search path for the assembler. Since you seem to be working with AvrStudio, you should have those files. Hope this helps, Erich ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Amforth-devel mailing list Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel