Skip to content

UNO R4 WIFI: 'SerialHCI' was not declared in this scope when compiled on a Windows 10 machine. #317

@MrYsLab

Description

@MrYsLab

I get no errors when I compile this sketch on Linux using IDE 2.1.1. If I try to do this same on a Windows 10 computer, I get the following error:

C:\Users\ayori\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:35:2: error: #error "Unsupported board selected!"
 #error "Unsupported board selected!"
  ^~~~~
C:\Users\ayori\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:101:40: error: 'SerialHCI' was not declared in this scope
 HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);
                                        ^~~~~~~~~
C:\Users\ayori\OneDrive\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:101:40: note: suggested alternative: 'SerialUSB'
 HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);
                                        ^~~~~~~~~
                                        SerialUSB

exit status 1

I am not very knowledgable about Windows
Compilation error: exit status 1

Metadata

Metadata

Assignees

Labels

conclusion: invalidIssue/PR not validtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions