-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Problem compiling with arduino IDE 1.8.6+ and hardware serial #23
Comments
Came here to write a bug report, as I am experiencing the exact same error.... |
Good to know I'm not the only one on the earth with that issue. I hope that Reaper7 knows a fix for it... |
I'm experiencing this using a Wemos D1 Mini. Are you using the same hardware? |
No. I have a Lolin NodeMCU. But I think it does not depend on the hardware. More on the communication between the SDM software and the hardware serial library. |
Uncomment |
Hi. Many thanks, it works! Can't believe it..... I thought when I define it in the .ino it is global? And #define USE_HARDWARESERIAL is before include <SDM.h>!? |
Hello all. I'm running mad now. With software serial everything works fine, with hardware serial I can't even compile and get this error:
Code:
#define USE_HARDWARESERIAL
#include <SDM.h>
SDM Plugin_150_SDM(Serial, 9600, NOT_A_PIN, SERIAL_8N1, false);
Error:
undefined reference to
SDM::SDM(HardwareSerial&, long, int, int, bool)' sketch/ESPEasy.ino.cpp.o: In function
Plugin_150(unsigned char, EventStruct*, String&)':undefined reference to
SDM::SDM(HardwareSerial&, long, int, int, bool)' undefined reference to
SDM::SDM(HardwareSerial&, long, int, int, bool)'collect2: error: ld returned 1 exit status
Any idea what's going wrong here?
The text was updated successfully, but these errors were encountered: