mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
ci: Fix host-test failures
This commit is contained in:
parent
1dd7c7a480
commit
5bd962cba7
@ -18,6 +18,7 @@ INCLUDE_DIRS := \
|
||||
app_update/include \
|
||||
bsd/include \
|
||||
driver/include \
|
||||
esp_app_format/include \
|
||||
esp_timer/include \
|
||||
freertos/include \
|
||||
log/include \
|
||||
@ -34,7 +35,7 @@ INCLUDE_DIRS := \
|
||||
xtensa/include \
|
||||
xtensa/esp32/include \
|
||||
soc/esp32/include \
|
||||
heap/include \
|
||||
heap/include \
|
||||
soc/include \
|
||||
esp32/include \
|
||||
esp_timer/include \
|
||||
|
@ -14,6 +14,7 @@ INCLUDE_DIRS := \
|
||||
app_update/include \
|
||||
bsd/include \
|
||||
driver/include \
|
||||
esp_app_format/include \
|
||||
esp_timer/include \
|
||||
freertos/include \
|
||||
log/include \
|
||||
@ -26,7 +27,7 @@ INCLUDE_DIRS := \
|
||||
esp_hw_support/include/soc \
|
||||
esp_system/include \
|
||||
soc/esp32/include \
|
||||
heap/include \
|
||||
heap/include \
|
||||
soc/include \
|
||||
xtensa/include \
|
||||
xtensa/esp32/include \
|
||||
|
@ -0,0 +1,46 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* This is a STUB FILE used when compiling ESP-IDF to run tests on the host system.
|
||||
* The source file used normally for ESP-IDF has the same name but is located elsewhere.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#define ESP_APP_DESC_MAGIC_WORD (0xABCD5432) /*!< The magic word for the esp_app_desc structure that is in DROM. */
|
||||
|
||||
/**
|
||||
* @brief Description about application.
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t magic_word; /*!< Magic word ESP_APP_DESC_MAGIC_WORD */
|
||||
uint32_t secure_version; /*!< Secure version */
|
||||
uint32_t reserv1[2]; /*!< reserv1 */
|
||||
char version[32]; /*!< Application version */
|
||||
char project_name[32]; /*!< Project name */
|
||||
char time[16]; /*!< Compile time */
|
||||
char date[16]; /*!< Compile date*/
|
||||
char idf_ver[32]; /*!< Version IDF */
|
||||
uint8_t app_elf_sha256[32]; /*!< sha256 of elf file */
|
||||
uint32_t reserv2[20]; /*!< reserv2 */
|
||||
} esp_app_desc_t;
|
||||
|
||||
/** @cond */
|
||||
_Static_assert(sizeof(esp_app_desc_t) == 256, "esp_app_desc_t should be 256 bytes");
|
||||
/** @endcond */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user