move esp32 chip specific includes to esp32/xxx.h

This commit is contained in:
morris
2019-03-18 15:46:15 +08:00
parent f1e9078cb0
commit 956c25dedd
44 changed files with 403 additions and 397 deletions

View File

@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include "esp_types.h"
#include "esp_clk.h"
#include "esp32/clk.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

View File

@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "esp_types.h"
#include "esp_clk.h"
#include "esp32/clk.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

View File

@@ -7,7 +7,7 @@
#include "esp_system.h"
#include "rom/cache.h"
#include "sdkconfig.h"
#include "esp_himem.h"
#include "esp32/himem.h"
#if CONFIG_SPIRAM_BANKSWITCH_ENABLE

View File

@@ -5,7 +5,7 @@
#include <sys/param.h>
#include "unity.h"
#include "esp_pm.h"
#include "esp_clk.h"
#include "esp32/clk.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"

View File

@@ -2,7 +2,7 @@
#include <stdlib.h>
#include <string.h>
#include "esp_types.h"
#include "esp_clk.h"
#include "esp32/clk.h"
#include "esp_log.h"
#include "esp_timer.h"
#include "esp_heap_caps.h"

View File

@@ -2,7 +2,7 @@
#include <sys/time.h>
#include <sys/param.h>
#include "esp_sleep.h"
#include "esp_clk.h"
#include "esp32/clk.h"
#include "driver/rtc_io.h"
#include "soc/gpio_reg.h"
#include "soc/rtc.h"