File tree 3 files changed +50
-2
lines changed
3 files changed +50
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ INCLUDE_DIRS := \
18
18
app_update/include \
19
19
bsd/include \
20
20
driver/include \
21
+ esp_app_format/include \
21
22
esp_timer/include \
22
23
freertos/include \
23
24
log/include \
@@ -34,7 +35,7 @@ INCLUDE_DIRS := \
34
35
xtensa/include \
35
36
xtensa/esp32/include \
36
37
soc/esp32/include \
37
- heap/include \
38
+ heap/include \
38
39
soc/include \
39
40
esp32/include \
40
41
esp_timer/include \
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ INCLUDE_DIRS := \
14
14
app_update/include \
15
15
bsd/include \
16
16
driver/include \
17
+ esp_app_format/include \
17
18
esp_timer/include \
18
19
freertos/include \
19
20
log/include \
@@ -26,7 +27,7 @@ INCLUDE_DIRS := \
26
27
esp_hw_support/include/soc \
27
28
esp_system/include \
28
29
soc/esp32/include \
29
- heap/include \
30
+ heap/include \
30
31
soc/include \
31
32
xtensa/include \
32
33
xtensa/esp32/include \
Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ *
6
+ * This is a STUB FILE used when compiling ESP-IDF to run tests on the host system.
7
+ * The source file used normally for ESP-IDF has the same name but is located elsewhere.
8
+ */
9
+
10
+ #pragma once
11
+
12
+ #include <stdint.h>
13
+ #include <stdbool.h>
14
+ #include <stddef.h>
15
+ #include "esp_err.h"
16
+
17
+ #ifdef __cplusplus
18
+ extern "C"
19
+ {
20
+ #endif
21
+
22
+ #define ESP_APP_DESC_MAGIC_WORD (0xABCD5432) /*!< The magic word for the esp_app_desc structure that is in DROM. */
23
+
24
+ /**
25
+ * @brief Description about application.
26
+ */
27
+ typedef struct {
28
+ uint32_t magic_word ; /*!< Magic word ESP_APP_DESC_MAGIC_WORD */
29
+ uint32_t secure_version ; /*!< Secure version */
30
+ uint32_t reserv1 [2 ]; /*!< reserv1 */
31
+ char version [32 ]; /*!< Application version */
32
+ char project_name [32 ]; /*!< Project name */
33
+ char time [16 ]; /*!< Compile time */
34
+ char date [16 ]; /*!< Compile date*/
35
+ char idf_ver [32 ]; /*!< Version IDF */
36
+ uint8_t app_elf_sha256 [32 ]; /*!< sha256 of elf file */
37
+ uint32_t reserv2 [20 ]; /*!< reserv2 */
38
+ } esp_app_desc_t ;
39
+
40
+ /** @cond */
41
+ _Static_assert (sizeof (esp_app_desc_t ) == 256 , "esp_app_desc_t should be 256 bytes" );
42
+ /** @endcond */
43
+
44
+ #ifdef __cplusplus
45
+ }
46
+ #endif
You can’t perform that action at this time.
0 commit comments