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
Using a Fubarino Mini board, when compiling I get following messages:
Arduino: 1.8.5 (Mac OS X), Board: "Fubarino Mini, 48MHz, Serial"
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:48:7: error: conflicting return type specified for 'virtual void SLIPEncodedSerial::write(uint8_t)'
void write(uint8_t b);
^
In file included from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/HardwareSerial.h:53:0,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/WProgram.h:22,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Arduino.h:4,
from sketch/osc.ino.cpp:1:
/Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Print.h:49:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
^
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:49:10: error: conflicting return type specified for 'virtual void SLIPEncodedSerial::write(const uint8_t*, size_t)'
void write(const uint8_t buffer, size_t size);
^
In file included from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/HardwareSerial.h:53:0,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/WProgram.h:22,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Arduino.h:4,
from sketch/osc.ino.cpp:1:
/Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Print.h:54:20: error: overriding 'virtual size_t Print::write(const uint8_t, size_t)'
virtual size_t write(const uint8_t *buffer, size_t size);
^
osc:62: error: no matching function for call to 'SLIPEncodedSerial::SLIPEncodedSerial(CDCACM&)'
SLIPEncodedSerial SLIPSerial(Serial);
^
/Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:62:36: note: candidates are:
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:26:2: note: SLIPEncodedSerial::SLIPEncodedSerial(HardwareSerial&)
SLIPEncodedSerial(HardwareSerial & );
^
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:26:2: note: no known conversion for argument 1 from 'CDCACM' to 'HardwareSerial&'
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: constexpr SLIPEncodedSerial::SLIPEncodedSerial(const SLIPEncodedSerial&)
class SLIPEncodedSerial: public Stream{
^
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: no known conversion for argument 1 from 'CDCACM' to 'const SLIPEncodedSerial&'
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: constexpr SLIPEncodedSerial::SLIPEncodedSerial(SLIPEncodedSerial&&)
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: no known conversion for argument 1 from 'CDCACM' to 'SLIPEncodedSerial&&'
exit status 255
no matching function for call to 'SLIPEncodedSerial::SLIPEncodedSerial(CDCACM&)'
The text was updated successfully, but these errors were encountered:
One of the problem is, that the Arduino IDE loads an old library version. library.properties should updated to the last release.
The second problem is that the includes and constructors in SLIPEncodedUSBSerial.h are wrong.
Also many other things, I can't figured out in the moment.
I started with an old version and solved the problem with deleting old write functions.
Third, why is support for maple_mini deleted, there are many Chinese copies on the market?
Using a Fubarino Mini board, when compiling I get following messages:
Arduino: 1.8.5 (Mac OS X), Board: "Fubarino Mini, 48MHz, Serial"
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:48:7: error: conflicting return type specified for 'virtual void SLIPEncodedSerial::write(uint8_t)'
void write(uint8_t b);
^
In file included from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/HardwareSerial.h:53:0,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/WProgram.h:22,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Arduino.h:4,
from sketch/osc.ino.cpp:1:
/Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Print.h:49:20: error: overriding 'virtual size_t Print::write(uint8_t)'
virtual size_t write(uint8_t) = 0;
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:49:10: error: conflicting return type specified for 'virtual void SLIPEncodedSerial::write(const uint8_t*, size_t)'
void write(const uint8_t buffer, size_t size);
^
In file included from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/HardwareSerial.h:53:0,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/WProgram.h:22,
from /Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Arduino.h:4,
from sketch/osc.ino.cpp:1:
/Users/sstaub/Library/Arduino15/packages/chipKIT/hardware/pic32/2.0.5/cores/pic32/Print.h:54:20: error: overriding 'virtual size_t Print::write(const uint8_t, size_t)'
virtual size_t write(const uint8_t *buffer, size_t size);
osc:62: error: no matching function for call to 'SLIPEncodedSerial::SLIPEncodedSerial(CDCACM&)'
SLIPEncodedSerial SLIPSerial(Serial);
^
/Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:62:36: note: candidates are:
In file included from /Users/sstaub/Development/PIC32/Fubarino Mini/OSC Arduino IDE/osc/osc.ino:61:0:
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:26:2: note: SLIPEncodedSerial::SLIPEncodedSerial(HardwareSerial&)
SLIPEncodedSerial(HardwareSerial & );
^
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:26:2: note: no known conversion for argument 1 from 'CDCACM' to 'HardwareSerial&'
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: constexpr SLIPEncodedSerial::SLIPEncodedSerial(const SLIPEncodedSerial&)
class SLIPEncodedSerial: public Stream{
^
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: no known conversion for argument 1 from 'CDCACM' to 'const SLIPEncodedSerial&'
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: constexpr SLIPEncodedSerial::SLIPEncodedSerial(SLIPEncodedSerial&&)
/Users/sstaub/Documents/Arduino/libraries/OSC/SLIPEncodedSerial.h:14:7: note: no known conversion for argument 1 from 'CDCACM' to 'SLIPEncodedSerial&&'
exit status 255
no matching function for call to 'SLIPEncodedSerial::SLIPEncodedSerial(CDCACM&)'
The text was updated successfully, but these errors were encountered: