Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By kostuch
#66443 Hi,
Pardon my ignorance (I'm just starting with esp chips). I have question regarding examples provided with SDK.
Each example has it's own 'driver' subdir with .c and .h files (eg for uart, key, etc).
Why do not add common include dir c:\espressif\esp8266_sdk\diver_lib\include\driver directory to project configuration and use common set of headers and sources?
I compared some files from examples to driver_lib and sometimes files are identical and sometimes slightly modified. Could you explain such layout?

Regards