fix(gcov): fix exceptions on gcov task_tick_hook

Closes https://github.com/espressif/esp-idf/issues/13511
pull/13550/head
Alexey Lapshin 2024-04-01 13:04:25 +04:00
rodzic 99efa9504c
commit 26b728a5f8
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -16,6 +16,7 @@
#include "esp_freertos_hooks.h"
#include "dbg_stubs.h"
#include "esp_private/esp_ipc.h"
#include "esp_attr.h"
#include "hal/wdt_hal.h"
#if CONFIG_IDF_TARGET_ESP32
#include "esp32/rom/libc_stubs.h"
@ -80,6 +81,7 @@ void gcov_create_task(void *arg)
(void *)&s_gcov_task_running, configMAX_PRIORITIES - 1, NULL, 0);
}
static IRAM_ATTR
void gcov_create_task_tick_hook(void)
{
if (s_create_gcov_task) {