Merge branch 'bugfix/esp_idf_version_v3.3' into 'release/v3.3'
Add __ASSEMBLER__ flag in esp_idf_version.h to fix build failure with assembly files (v3.3) See merge request espressif/esp-idf!10902
This commit is contained in:
commit
83809a37a7
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,8 @@ extern "C" {
|
||||||
ESP_IDF_VERSION_MINOR, \
|
ESP_IDF_VERSION_MINOR, \
|
||||||
ESP_IDF_VERSION_PATCH)
|
ESP_IDF_VERSION_PATCH)
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLER__
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return full IDF version string, same as 'git describe' output.
|
* Return full IDF version string, same as 'git describe' output.
|
||||||
*
|
*
|
||||||
|
@ -53,6 +55,8 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
const char* esp_get_idf_version(void);
|
const char* esp_get_idf_version(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue