diff --git a/components/esp_common/include/esp_idf_version.h b/components/esp_common/include/esp_idf_version.h index c8598d183b..ac1f98a9fa 100644 --- a/components/esp_common/include/esp_idf_version.h +++ b/components/esp_common/include/esp_idf_version.h @@ -41,6 +41,8 @@ extern "C" { ESP_IDF_VERSION_MINOR, \ ESP_IDF_VERSION_PATCH) +#ifndef __ASSEMBLER__ + /** * Return full IDF version string, same as 'git describe' output. * @@ -53,6 +55,8 @@ extern "C" { */ const char* esp_get_idf_version(void); +#endif + #ifdef __cplusplus } #endif