From 68764bf80f279a6e67ac1f920b4198c9b4260a62 Mon Sep 17 00:00:00 2001 From: Erhan Kurubas Date: Mon, 15 Sep 2025 20:36:28 +0200 Subject: [PATCH] refactor(app_trace): remove redundant init call from startup --- components/freertos/app_startup.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/components/freertos/app_startup.c b/components/freertos/app_startup.c index 0aad7e93c11..03f4a4f04ea 100644 --- a/components/freertos/app_startup.c +++ b/components/freertos/app_startup.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -23,9 +23,6 @@ #include "esp_psram.h" #include "esp_private/esp_psram_extram.h" #endif -#ifdef CONFIG_APPTRACE_ENABLE -#include "esp_app_trace.h" /* Required for esp_apptrace_init. [refactor-todo] */ -#endif #ifdef CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME #include "esp_gdbstub.h" /* Required by esp_gdbstub_init() */ #endif // CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME @@ -116,12 +113,6 @@ void esp_startup_start_app_other_cores(void) ; } -#if CONFIG_APPTRACE_ENABLE - // [refactor-todo] move to esp_system initialization - esp_err_t err = esp_apptrace_init(); - assert(err == ESP_OK && "Failed to init apptrace module on APP CPU!"); -#endif - #if CONFIG_ESP_INT_WDT // Initialize the interrupt watch dog for CPU1. esp_int_wdt_cpu_init();