You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably more of a feature request than a bug report, concerning both v1.0 and v2.0 branches.
Esp.h provides a runtime function getSdkVersion(), a wrapper for esp-idf's esp_get_idf_version(), which reads version data from esp_idf_version.h containing ESP_IDF_VERSION_* macros.
A similar story is arduino-esp32 version, the esp_arduino_version.h providing ESP_ARDUINO_VERSION_* macros. It has been added only recently to v2.0 branch only. Firstly, I propose esp_arduino_version.h is also ported to v1.0 codebase so the two major Arduino SDK versions are compatible in such basic regard.
However, the arduino-esp32 does not contain getSdkVersion()-analogue function containing its version string, available at runtime. A getSdk2Version() if you will. Second proposal of this issue is that such function is added to v2.0 and v1.0 branches.
This would also make arduino-esp32 version as accessible as esp-idf one is, without needing to include esp_arduino_version.h. Such basic debugging information should probably be most easily accessible.
The text was updated successfully, but these errors were encountered:
This is probably more of a feature request than a bug report, concerning both v1.0 and v2.0 branches.
Esp.h
provides a runtime functiongetSdkVersion()
, a wrapper foresp-idf
'sesp_get_idf_version()
, which reads version data fromesp_idf_version.h
containingESP_IDF_VERSION_*
macros.A similar story is
arduino-esp32
version, theesp_arduino_version.h
providingESP_ARDUINO_VERSION_*
macros. It has been added only recently to v2.0 branch only. Firstly, I proposeesp_arduino_version.h
is also ported to v1.0 codebase so the two major Arduino SDK versions are compatible in such basic regard.However, the
arduino-esp32
does not containgetSdkVersion()
-analogue function containing its version string, available at runtime. AgetSdk2Version()
if you will. Second proposal of this issue is that such function is added to v2.0 and v1.0 branches.This would also make
arduino-esp32
version as accessible asesp-idf
one is, without needing to includeesp_arduino_version.h
. Such basic debugging information should probably be most easily accessible.The text was updated successfully, but these errors were encountered: