So you're a Noob? Post your questions here until you graduate! Don't be shy.
User avatar
By Narfel
#78593 Can someone enlighten me about version numbers with respect to sdk/cores? I use platformio and the Arduino IDE on Windows. Both use a identical Esp.h located at %AppData%\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\cores\esp8266 for Arduino IDE and %User%\.platformio\packages\framework-arduinoespressif8266\cores\esp8266 for Platformio for the two cores provided with those platforms. The core versions appear to be the most recent ones (2.4.2/1.8.0 respectively) and when i compile a binary i get getSdkVersion() = 2.2.1(cfd48f3) and getCoreVersion() = 2_4_2.

However the Esp.h located at https://github.com/esp8266/Arduino/blob ... 8266/Esp.h is a different one, namely including a couple of more things like getHeapFragmentation() or getHeapStats().

Can someone tell me where i went wrong assuming that these Esp.h files should be the same?