Closed chuckwagoncomputing closed 7 years ago
It's because with Servo Library, the source code is under src/esp8266... Try to add these 3 lines in esp8266Arduino.mk at line 108: $(ARDUINO_LIBS:%=$(ARDUINO_HOME)/libraries/%/src//.c) \ $(ARDUINO_LIBS:%=$(ARDUINO_HOME)/libraries/%/src//.cpp) \ $(ARDUINO_LIBS:%=$(ARDUINO_HOME)/libraries/%/src/*.h) \ tested with Servo library
I have push the modification. Give it a try.
Works fine now. I'd already made the modification before you suggested it, but I cloned again to test code for #6, so I went ahead and tried using the servo library. No errors, as expected.
Some libraries, like Servo, have no.cpp file in their src directory, only .h.
These libraries are not found.