esp_common: add version definitions in code and build system

Closes https://github.com/espressif/esp-idf/issues/4679
This commit is contained in:
Ivan Grokhotkov
2019-03-22 12:40:12 +08:00
parent 1ba3bf2976
commit ca6b009c26
16 changed files with 167 additions and 9 deletions

View File

@@ -19,6 +19,7 @@
#include <stdbool.h>
#include "esp_err.h"
#include "esp_sleep.h"
#include "esp_idf_version.h"
#ifdef __cplusplus
extern "C" {
@@ -292,14 +293,6 @@ esp_err_t esp_derive_local_mac(uint8_t* local_mac, const uint8_t* universal_mac)
const char* system_get_sdk_version(void) __attribute__ ((deprecated));
/** @endcond */
/**
* Get IDF version
*
* @return constant string from IDF_VER
*/
const char* esp_get_idf_version(void);
/**
* @brief Chip models
*/