esp_hw_support/esp_system: Re-evaluate header inclusions and include directories

This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.


* Original commit: espressif/esp-idf@a9fda54d39
This commit is contained in:
Sudeep Mohanty
2022-01-12 12:23:47 +05:30
committed by suren-gabrielyan-espressif
parent d39a4c744e
commit 58bf2186f7
4 changed files with 5 additions and 3 deletions

View File

@ -15,6 +15,8 @@
#include "mdns.h" #include "mdns.h"
#include "mdns_private.h" #include "mdns_private.h"
#include "mdns_networking.h" #include "mdns_networking.h"
#include "esp_log.h"
#include "esp_random.h"
#ifdef MDNS_ENABLE_DEBUG #ifdef MDNS_ENABLE_DEBUG
void mdns_debug_packet(const uint8_t * data, size_t len); void mdns_debug_packet(const uint8_t * data, size_t len);

View File

@ -52,7 +52,7 @@
#define ESP_LOGV(a,b,c,d) #define ESP_LOGV(a,b,c,d)
#define LWIP_HDR_PBUF_H #define LWIP_HDR_PBUF_H
#define __ESP_SYSTEM_H__ #define __ESP_RANDOM_H__
#define INC_TASK_H #define INC_TASK_H
#define pdMS_TO_TICKS(a) a #define pdMS_TO_TICKS(a) a

View File

@ -10,7 +10,7 @@
#include "freertos/FreeRTOS.h" #include "freertos/FreeRTOS.h"
#include "freertos/task.h" #include "freertos/task.h"
#include "esp_netif_ip_addr.h" #include "esp_netif_ip_addr.h"
#include "esp_system.h" #include "esp_mac.h"
#include "esp_event.h" #include "esp_event.h"
#include "esp_log.h" #include "esp_log.h"
#include "nvs_flash.h" #include "nvs_flash.h"

View File

@ -5,7 +5,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "esp_system.h" #include "esp_mac.h"
#include "nvs_flash.h" #include "nvs_flash.h"
#include "esp_event.h" #include "esp_event.h"
#include "esp_netif.h" #include "esp_netif.h"