Closed joelmaxuel closed 3 years ago
V3.0.6 has different code to what you have posted. Try updating to V3.0.6 and then if you still have errors enable File->Preferences, Verbose output for Compile and include a compile line so we can see what is defined.
Same error. Seems as though the Uno does not apply to any of the extra guards.
#if defined(ESP_PLATFORM) || defined(ARDUINO_SAM_DUE) || defined(ARDUINO_ARCH_STM32F1) || defined(ARDUINO_ARCH_STM32F4)
// ESP32 has no flush in Print!! but ESP8266 has
#else
currentOutput->flush();
#endif
Please email pfod.com.au via the contacts link with your sketch and complete compiler output. Uno works fine for me here Or post here if you prefer.
Just looked at the version of my Ardiuno IDE, even when using Debian Testing it is painfully old. Grabbed a copy from FlatPak and I had no issues compiling. Apologies for the intrusion.
Attempting to compile for the Arduino Uno (particularly with a Maker Uno 1.1) but get the following error:
In tracking down, it seems the Uno also has no flush in Print
Removed the above ifdef however there are additional errors arising in other files (also wrapped in ESP_PLATFORM ifdefs).