Open gicking opened 3 weeks ago
hello Mario,
thanks for reporting this bug and for using my lib!
Here my status
LIN_SoftwareSerial_Blocking.ino
from this repo for ESP32 -> same linker errorLIN_SoftwareSerial_Blocking.ino
for Mega, ESP8266 and Adafruit Trinket (=all other boards I own) -> no errorLIN_HardwareSerial_ESP32_Blocking.ino
for ESP32 -> no errorLIN_SoftwareSerial_Blocking.ino
Ok, I just uploaded the fix to Github. Before I trigger a new release, can you please download and install it manually, and tell me if it solves your issue? Thanks a lot in advance!
Btw, to avoid mixup with my recently started LIN slave repo (not yet ready!), I have renamed all examples to include "master" and "slave" in the filenames, respectively.
Georg
Hello Georg, The speed with which you reacted to the problem and provided a solution is phenomenal. Thank you very much for that! I downloaded your current files and came to the following conclusion:
Now I will start adapting it for my planned application.
Thank you very much for your excellent work!
Ciao Mario
Hi Mario,
ad 1) the examples are not yet synchronized, so the number of data bytes don't match btw. master & slave. As said, the LIN slave library is work in progress and not yet released. Good to hear it works for you!
ad 2) I guess that comes from the overhead by SoftwareSerial. I will look into it when I have sorted out the other issues
Good luck and have fun, Georg
on behalf of Mario M.
So far, I have successfully tested your
LIN_master_HardwareSerial_ESP32
andLIN_SlaveHardwareSerial_ESP32
working together, and both seem to function well as far as I can see. However, I haven't yet adapted them for my application.Now, I would like to test the LIN server with software serial.
On my ESP32, one serial interface is already occupied, and I want to implement a LIN master and a LIN slave. Although I could reassign Serial Interface 0 to other ports, I would then lose the serial monitor for debugging purposes.
To get straight to the point: unfortunately, I am unable to compile and link
LIN_SoftwareSerial_Blocking.ino
. The following error message appears:I’ve tried many things; it seems there’s some issue with linking. In the lines referenced,
LIN_SoftwareSerial_Blocking.ino
:118 andLIN_SoftwareSerial_Blocking.ino
:154, I don’t see a connection toLIN_Master_SoftwareSerial::
…. I’ve checked the relevant libraries, tried everything on a second Windows machine as well, and used both Arduino IDE versions 2.3.3 and 1.8.19. I also updated the ESP32 libraries. My searches online didn’t yield any helpful information either.Do you have any ideas on this issue, or have you encountered it yourself? I’d be very grateful for any helpful tips.