I am a new user of Platform IO with Visual studio code.
I have installed the MySensors library using the library manager, and added in my project
lib_ldf_mode = deep+ ;I also tried chain, chain+, deep+
lib_deps = MySensors
In my main.cpp, I include “MySensors.h” and the following error is notified “cannot open source file “SerialPort.h” (dependency of “MySensors.h”)C/C++(1696)”
But no error during compilation.
This error is only detected when I define “#define MY_RS485”
In MySensors.h, I found
MyTransportRS485.cpp includes SerialPort.h
In MySensors dir install , I have
Is it expected to have SerialPort not found? a bug ? something missing in my project?
Thanks for your help