Skip to content

Function println not matched when using ArduinoCore-samd core #112

Closed
@enekochan

Description

@enekochan

Describe the bug
Using the ArduinoCore-samd println function in Serial is highligthed as "No matching member function for call to 'println'" even if it is shown in code completition and the sketch is built without problems:

No matching member function for call to 'println'

/Users/username/Library/Arduino15/packages/arduino/hardware/samd/1.8.6/cores/arduino/Print.h:78:12:
note: candidate function not viable: no known conversion from 'Uart' to 'Print' for object argument

To Reproduce

  1. Install ArduinoCore-samd.
  2. Create a simple sketch and write a Serial.println("..."); statement
  3. See error

Expected behavior
Call to println be correctly recognized as belonging to Serial.

Screenshots
Screenshot 2020-06-20 at 23 13 13

Desktop:

  • OS: macOS 10.15.5
  • Version: Arduino Pro 0.0.6 (0.0.6.20200409.2)
  • ArduinoCore-samd 1.8.6

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions