-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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.