JPawww / arduino-tiny

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

SoftwareSerial with 2313 missing pin definitions #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using arduino-tiny-0100-0017
2. arduino IDE 1.0.5, running on Mac 10.8.3
3. board selected as ATtiny2313 @ 8mhz
4. compile a script including SoftwareSerial.h

/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int)':
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:399: error: 'digitalPinToPCICR' was not declared in this 
scope
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:401: error: 'digitalPinToPCICRbit' was not declared in this 
scope
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:402: error: 'digitalPinToPCMSK' was not declared in this 
scope
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:402: error: 'digitalPinToPCMSKbit' was not declared in this 
scope
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp: In member function 'void SoftwareSerial::end()':
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:417: error: 'digitalPinToPCMSK' was not declared in this 
scope
/Applications/Arduino-1.0.5.app/Contents/Resources/Java/libraries/SoftwareSerial
/SoftwareSerial.cpp:418: error: 'digitalPinToPCMSKbit' was not declared in this 
scope

I note that pins_arduino.h specifically defines those pins for 
(__AVR_ATtiny4313__) but changing the definition to (__AVR_ATtinyX313__) only 
produces a different set of errors

Original issue reported on code.google.com by cc...@estrider.com on 14 Jul 2013 at 6:43

GoogleCodeExporter commented 9 years ago
arduino-tiny-0100-0018 also affected

Original comment by piotr.bu...@gmail.com on 11 Feb 2014 at 7:20