Hello,
I am working with the ATtiny817 on a Atmel Xplained Mini evaluation board. I am trying to use Peter Fleury's software I2Cmaster library to interface with a magnetometer. I know that the ATtiny817 has a TWI hardware module, but it seems to use different register names than the ATmega TWI hardware modules, which makes using any sort of library a pain.
Anyways, when I try to build my project in Atmel Studio 7, I get the errors in the attached image. As you can see in the image, I have added the i2cmaster.h and i2cmaster.S to the project. I am not using the makefile included in Peter Fleury's i2c .zip file because when I tried to build the project using that makefile, I received an error about changing the MCU name in the makefile to attiny817 (apparently it couldn't find the device/file). I have included the location of the i2cmaster library to the Directories Include Path under Project->Project Properties->Toolchain->AVR/GNU C Compiler (not sure if I need to do that, but I didn't think it would hurt).
Any suggestions on what to try to fix the problem? Thanks for any help!