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

Include header file soc/cpu.h in memprot.c and system_api.c

This fixes build issues with Vanilla FreeRTOS
Shubham Kulkarni 5 лет назад
Родитель
Сommit
07abd9092a
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      components/esp32s2/memprot.c
  2. 1 0
      components/esp_system/system_api.c

+ 1 - 0
components/esp32s2/memprot.c

@@ -30,6 +30,7 @@
 #include "hal/memprot_ll.h"
 #include "esp_fault.h"
 #include "esp_log.h"
+#include "soc/cpu.h"
 
 extern int _iram_text_end;
 extern int _data_start;

+ 1 - 0
components/esp_system/system_api.c

@@ -3,6 +3,7 @@
 #include "esp_heap_caps.h"
 #include "freertos/FreeRTOS.h"
 #include "freertos/task.h"
+#include "soc/cpu.h"
 #include "soc/rtc.h"
 #include "soc/rtc_cntl_reg.h"
 #include "panic_internal.h"