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

This fixes build issues with Vanilla FreeRTOS
This commit is contained in:
Shubham Kulkarni 2020-07-08 12:08:33 +05:30
parent 897e950e21
commit 07abd9092a
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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"