Просмотр исходного кода

freertos: add missing header include for esp_chip_info.h to port.c

Closes https://github.com/espressif/esp-idf/issues/10310
Marius Vikhammer 3 лет назад
Родитель
Сommit
ea249dc3a6

+ 1 - 0
components/freertos/FreeRTOS-Kernel-SMP/portable/xtensa/port.c

@@ -32,6 +32,7 @@
 #include "esp_freertos_hooks.h"
 #include "esp_intr_alloc.h"
 #include "esp_memory_utils.h"
+#include "esp_chip_info.h"
 #if CONFIG_SPIRAM
 /* Required by esp_psram_extram_reserve_dma_pool() */
 #include "esp_psram.h"

+ 1 - 0
components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c

@@ -77,6 +77,7 @@
 #include "port_systick.h"
 #include "esp_cpu.h"
 #include "esp_memory_utils.h"
+#include "esp_chip_info.h"
 
 _Static_assert(portBYTE_ALIGNMENT == 16, "portBYTE_ALIGNMENT must be set to 16");