mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_idf_version.h: Add __ASSEMBLER__ flag to fix build failure with assembly files
This commit is contained in:
parent
3901f38de6
commit
5a287c3a31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user