I'm programming an ATtiny4313 to read a HMC6352 compass module. I'm using Studio 6 and GCC, WinAVR 20100010.
Searching for some source code to help me with the TWI interface, I've arrived at files written by Peter Fluery. The version that does not use the hardware module TWI as found in the "mega" AVRs has an assembly language file i2cmaster.S which creates functions that can be called from C.
My question is, what are the mechanics of incorporating this file into my project? I have vague notions of assembling the file into object code and then somehow linking that to the overall project, but don't have an idea of the specific steps.
Some specific guidance or pointers to documents I should review would be appreciated.