1
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
25
26
27
32
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* ... */
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_IDF_VERSION_MAJOR 5
#define ESP_IDF_VERSION_MINOR 4
#define ESP_IDF_VERSION_PATCH 0
/* ... */
#define ESP_IDF_VERSION_VAL(major, minor, patch) ((major << 16) | (minor << 8) | (patch))
/* ... */
#define ESP_IDF_VERSION ESP_IDF_VERSION_VAL(ESP_IDF_VERSION_MAJOR, \
ESP_IDF_VERSION_MINOR, \
ESP_IDF_VERSION_PATCH)...
5 defines
#ifndef __ASSEMBLER__
/* ... */
const char* esp_get_idf_version(void);
/* ... */
#endif
#ifdef __cplusplus
}{...}
#endif