Hi Chris,
Thanks for the post and great detail.
The error looks like the result of an incorrect setting in the debugger project properties or some new strange bug.
Before working through the debugger problem with you I would like to confirm that if you click "start without debugging" or select "Release" mode you will see a successful standard Arduino compile.
This is confirmed by the first couple of lines of your report showing a successful compile in .34 of a second.
Quote:Compiling 'BLINKER' for 'Arduino Mega 2560 or Mega ADK'
Binary sketch size: 1640 bytes (used 1% of a 258048 byte maximum) (0.34 secs)
By default starting an Arduino debug session will perform two compiles.
One compile with your native sketch code and then one from a temp copy with some extra debug code. You can switch off the first if you want but it makes error messages less confusing for new users especially.
The error we see below seems to indicate that SoftwareSerial has been selected as the debugger transport method.
Normally we use the built in Arduino serial by default, but you have probably read in the wiki that you can switch to softwareSerial and use one or two digital pins for debug?
I am hoping you say that you have switched on SoftwareSerial in the project properties but that you have not configured a PinTx or PinRx? Or as an alternative to pin specification maybe you have specified your own RemotePort "object" as well? (If so then the object must be based on SoftwareSerial)
If you did not mean to set the RemoteTransport property to SoftwareSerial then clear it or set it to HardwareSerial which is the default and caters for all types of Serial,Serial1, Serial2, etc. built in serial objects.
Quote:Compiling debug version of 'BLINKER' for 'Arduino Mega 2560 or Mega ADK'
SoftwareSerial.cpp:In member function 'void SoftwareSerial::begin(long int)'
SoftwareSerial.cpp:399: error: 'digitalPinToPCICR' was not declared in this scope
SoftwareSerial.cpp:401: error: 'digitalPinToPCICRbit' was not declared in this scope
SoftwareSerial.cpp:402: error: 'digitalPinToPCMSK' was not declared in this scope
SoftwareSerial.cpp:402: error: 'digitalPinToPCMSKbit' was not declared in this scope
SoftwareSerial.cpp:In member function 'void SoftwareSerial::end()'
SoftwareSerial.cpp:417: error: 'digitalPinToPCMSK' was not declared in this scope
SoftwareSerial.cpp:418: error: 'digitalPinToPCMSKbit' was not declared in this scop
I hope some of this strikes a chord. If not then please zip and email the sketch along with the visual micro sub folder below the sketch.
Thanks