feat(esp_tee): Support for ESP-TEE - esptool_py, esp_rom & other components

This commit is contained in:
Laukik Hase
2024-07-01 13:19:49 +05:30
parent 66f880fc1c
commit 2dee5791a6
14 changed files with 119 additions and 15 deletions

View File

@@ -13,7 +13,7 @@
#include "esp_log.h"
// startup_internal.h is necessary for startup function definition, which does not exist on Linux (TODO: IDF-9950)
#if !CONFIG_IDF_TARGET_LINUX
#if !CONFIG_IDF_TARGET_LINUX && !ESP_TEE_BUILD
#include "esp_private/startup_internal.h"
static const char *TAG = "app_init";
@@ -118,7 +118,7 @@ int esp_app_get_elf_sha256(char* dst, size_t size)
// startup function definition and execution does not exist on the Linux target
// (TODO: IDF-9950)
#if !CONFIG_IDF_TARGET_LINUX
#if !CONFIG_IDF_TARGET_LINUX && !ESP_TEE_BUILD
ESP_SYSTEM_INIT_FN(init_show_app_info, CORE, BIT(0), 20)
{
// Load the current ELF SHA256