Hi Matthias, Looking at the core/devices/atmega328p directory (for the Uno) I see three 'device.*' files and the atmega328p.frt file, which all have the notation "generated automatically, do not edit". In each of those I note references to the TW* declarations desired for my Uno. If I shouldn't be editing these files, I'm unclear what actions I'm to take to get them properly modified. My understanding is that the only place I should be modifying anything is in the master project asm file. If this is the case, then it appears to be significant as to specifically where an addition (a WANT option, for instance) is to be inserted.
On 10/24/2013 10:07 AM, Matthias Trute wrote: > Hi Michael, > > > Other than inserting the line ".set WANT_TWI = 1" into the main > > project file, is there something else that needs to be done to get > > the I2C capability? > > I use the amforth-shell for such tasks, it substitutes (if > properly installed) the register names with their numbers on > the fly. The/most WANT-Options I consider legacy stuff ;) Can you give me an example of what you mean here, perhaps pertaining to I2C functionality? > > > I insert that line, compile and flash the Uno, but when I look for > > the declarations of TWBR, etc., I don't find them. Perhaps > > there's a specific location this needs to be inserted in the > > project file? > > Look at core/devices/<controller> directory. All controller specific > things are there. > > Matthias > Thanks!! Regards, Michael > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > Amforth-devel mailing list for http://amforth.sf.net/ > Amforth-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/amforth-devel ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel