You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to program an AT90USB162-based LCD USB Backpack (the Adafruit one) to make a minor firmware change, and Arduino 1.6.7 is failing here with your HardwareSerial.h:
adafruit-cu40025SCPB-U5A:41: error: no matching function for call to 'HardwareSerial::HardwareSerial()' HardwareSerial Uart = HardwareSerial(); ^ /home/alex/Arduino/adafruit-cu40025SCPB-U5A/adafruit-cu40025SCPB-U5A.ino:41:38: note: candidates are: In file included from /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/Arduino.h:224:0, from sketch/adafruit-cu40025SCPB-U5A.ino.cpp:1: /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:117:12: note: HardwareSerial::HardwareSerial(volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*) inline HardwareSerial( ^ /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:117:12: note: candidate expects 6 arguments, 0 provided /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: constexpr HardwareSerial::HardwareSerial(const HardwareSerial&) class HardwareSerial : public Stream ^ /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: candidate expects 1 argument, 0 provided /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: constexpr HardwareSerial::HardwareSerial(HardwareSerial&&) /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: candidate expects 1 argument, 0 provided exit status 1 no matching function for call to 'HardwareSerial::HardwareSerial()'
Any ideas on how to fix? I'm not very much a C++ person so please excuse if it's obvious.
The text was updated successfully, but these errors were encountered:
On Nov 19, 2019, at 10:38 PM, Justin Mattair ***@***.***> wrote:
I can take a look. Can you please provide a link to the product used and the sketch that fails compilation.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#2?email_source=notifications&email_token=AAF6P25LINYBYLD6I7DFUXDQUSWLVA5CNFSM4JPJ6MG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEQS6BY#issuecomment-555822855>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAF6P26PM36R74ZR3HJ4B7LQUSWLVANCNFSM4JPJ6MGQ>.
I'm trying to program an AT90USB162-based LCD USB Backpack (the Adafruit one) to make a minor firmware change, and Arduino 1.6.7 is failing here with your HardwareSerial.h:
adafruit-cu40025SCPB-U5A:41: error: no matching function for call to 'HardwareSerial::HardwareSerial()' HardwareSerial Uart = HardwareSerial(); ^ /home/alex/Arduino/adafruit-cu40025SCPB-U5A/adafruit-cu40025SCPB-U5A.ino:41:38: note: candidates are: In file included from /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/Arduino.h:224:0, from sketch/adafruit-cu40025SCPB-U5A.ino.cpp:1: /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:117:12: note: HardwareSerial::HardwareSerial(volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*, volatile uint8_t*) inline HardwareSerial( ^ /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:117:12: note: candidate expects 6 arguments, 0 provided /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: constexpr HardwareSerial::HardwareSerial(const HardwareSerial&) class HardwareSerial : public Stream ^ /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: candidate expects 1 argument, 0 provided /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: constexpr HardwareSerial::HardwareSerial(HardwareSerial&&) /home/alex/.arduino15/packages/MattairTech_Arduino/hardware/avr/1.6.9-mt1/cores/arduino/HardwareSerial.h:93:7: note: candidate expects 1 argument, 0 provided exit status 1 no matching function for call to 'HardwareSerial::HardwareSerial()'
Any ideas on how to fix? I'm not very much a C++ person so please excuse if it's obvious.
The text was updated successfully, but these errors were encountered: