From: Erich W. <ew....@na...> - 2013-08-16 17:40:08
|
Hello Michael, On 08/16/2013 01:01 AM, Michael Picco wrote: > Hello Erich, > > Thank you for the reply. Can I safely assume the template file can be > copied/pasted to my new project and used as-is for 1wire? > The other question is about the other files required: > dict_appl > dict_appl_core > etc. > Should I be using the ones in the atmega2561 directory for creation of > atmega2560 project? Hmmm. I don't know. Looking at appl/atmega2561/atmega256.asm says: ; Settings for the avr butterfly demo board .include "macros.asm" .include "device.asm" ... You are not using the butterfly board, do you? Allthough I cannot exclude the possibility, that this is a leftover comment from somewhere else [1], I personally would start with a copy of appl/template/ and go from there. Crystal frequency and baud rate go into appl/template/template.asm The device type goes into appl/template/makefile If you are using Windows/Atmel Studio then consult Karl Lunt's documentation listet ond the amforth webpage [2] (I cannot help you out with Windows/Atmel Studio, sorry). Hope this helps, Erich [1] there is also the directory appl/avr-butterfly for a project for that particular device. [2] http://amforth.sourceforge.net/ and http://amforth.sourceforge.net/UG/amforth_user.html#user-guide |