Open
Description
Version
Firmata: latest from master
Arduino IDE: 1.8.13
Board: Arduino MKRWIFI1010 board
OS version: macOS Catalina 10.15.4
What am I trying to achieve?
I'm trying to compile the StandardFirmataWiFi.ino
or the StandardFirmata.ino
with the MKR 1010 board.
Issue
When compiling I'm getting the following error.
/Users/{Redacted}/Documents/Arduino/libraries/Firmata/utility/SerialFirmata.cpp: In member function 'void SerialFirmata::checkSerial()':
/Users/{Redacted}/Documents/Arduino/libraries/Firmata/utility/SerialFirmata.cpp:364:56: error: 'SERIAL_RX_BUFFER_SIZE' was not declared in this scope
if (!((bytesToRead <= 0 && bytesAvailable >= SERIAL_RX_BUFFER_SIZE/2)
^~~~~~~~~~~~~~~~~~~~~
/Users/{Redacted}/Documents/Arduino/libraries/Firmata/utility/SerialFirmata.cpp:364:56: note: suggested alternative: 'SERIAL_BUFFER_SIZE'
if (!((bytesToRead <= 0 && bytesAvailable >= SERIAL_RX_BUFFER_SIZE/2)
^~~~~~~~~~~~~~~~~~~~~
SERIAL_BUFFER_SIZE