Function esp_idf_svc::sys::esp_get_idf_version

source ·
pub unsafe extern "C" fn esp_get_idf_version() -> *const i8
Expand description

Return full IDF version string, same as ‘git describe’ output.

@note If you are printing the ESP-IDF version in a log file or other information, this function provides more information than using the numerical version macros. For example, numerical version macros don’t differentiate between development, pre-release and release versions, but the output of this function does.

@return constant string from IDF_VER