jd-shah / arduino-tiny

Automatically exported from code.google.com/p/arduino-tiny
Other
0 stars 0 forks source link

eeprom.h file #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The zip file, arduino-tiny-0022-0008.zip, contains an eeprom.h file with path 
\tools\avr\avr\include\avr\, however in the stock Arduino-0022 software, a file 
by that name already exists and is slightly larger than the one provided in the 
zip file.

What is the correct course of action for this file?

Attached is a diff file between the two, seems to be related to the Mega2560.

Original issue reported on code.google.com by kira...@gmail.com on 8 Jul 2011 at 8:41

Attachments:

GoogleCodeExporter commented 8 years ago
There is a bug in the Arduino eeprom.h file that causes problems with ATtiny45 
(and other) processors.  Some details are here...
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1255541325/20#20

Alternatively, you can use the latest version of WinAVR...
http://arduino.cc/forum/index.php/topic,65999.msg483850.html#msg483850

Original comment by arduino....@gmail.com on 9 Jul 2011 at 6:32