UNO R4 WIFI: 'SerialHCI' was not declared in this scope when compiled on a Windows 10 machine.
MrYsLab opened this issue · 1 comments
MrYsLab commented
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
per1234 commented
Hi @MrYsLab. This error indicates that you are compiling for the UNO R4 WiFi board, but not using the beta test version of the library that is compatible with the board. The release version of this library does not support the UNO R4 WiFi board so this error is expected when using that version of the library.
Instructions for installing the beta tester version of the library are available here: