Closed probonopd closed 6 years ago
ESPmanager does include all these, but these are all seperate libs... except maybe the hash.h lib, and from what i understand of the way the the arduino system works, they have to be included in the main sketch for the build process to find them... ok so i thought i'd check that and it seems like within arduino you can now ditch them all! and just use ESPManager.h
the gotya however is that this does not work for platformio (which i use predominately). so i would be keen to keep them there. but if u can get it work with less be my guest. They are all included in the appropriate places in the lib, so should work.
Ah, good to know. Maybe we should ask platformio why it behaves differently from Arduino? In the ideal world, platformio could run all Arduino sketches unchanged...
It used to be like that. But I'm using latest IDE and it seems to work. I'll ask pio....
It is useful though as it shows u a list
On 5 Dec 2016, at 18:36, probonopd notifications@github.com wrote:
Ah, good to know. Maybe we should ask platformio why it behaves differently from Arduino? In the ideal world, platformio could run all Arduino sketches unchanged...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
A little late , i think Platformio requires you specify lib linking eg. Lib_ldf_mode deep Although chain mode should still find includes in header files..
think this is resolved now. can just include the main espmanager header
Right now we need to
Wouldn't it be possible for ESPmanager.h to include the others, so that the main sketch could stay a bit leaner?