Dont include log header by default everywhere

This commit is contained in:
2021-02-22 02:06:48 +01:00
parent acf3b3948a
commit e385dd8abc
10 changed files with 12 additions and 1 deletions

View File

@ -5,6 +5,7 @@
#include "pins_arduino.h"
#include "HardwareSerial.h"
#include "esp32-hal-log.h"
#if CONFIG_IDF_TARGET_ESP32

View File

@ -13,6 +13,7 @@
// limitations under the License.
#include "esp32-hal-adc.h"
#include "esp32-hal-log.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_attr.h"

View File

@ -25,6 +25,7 @@
#include "soc/efuse_reg.h"
#include "esp32-hal.h"
#include "esp32-hal-cpu.h"
#include "esp32-hal-log.h"
#include "esp_system.h"
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+

View File

@ -24,6 +24,7 @@
#include "soc/dport_reg.h"
#include "esp_attr.h"
#include "esp32-hal-cpu.h" // cpu clock change support 31DEC2018
#include "esp32-hal-log.h"
#include "esp_system.h"
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+

View File

@ -17,6 +17,7 @@
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "esp32-hal-matrix.h"
#include "esp32-hal-log.h"
#include "soc/dport_reg.h"
#include "soc/ledc_reg.h"
#include "soc/ledc_struct.h"

View File

@ -17,6 +17,7 @@
#include "freertos/semphr.h"
#include "esp32-hal.h"
#include "esp32-hal-log.h"
#include "esp8266-compat.h"
#include "soc/gpio_reg.h"
#include "soc/rmt_struct.h"

View File

@ -68,7 +68,7 @@ void yield(void);
#define ESP_REG(addr) *((volatile uint32_t *)(addr))
#define NOP() asm volatile ("nop")
#include "esp32-hal-log.h"
//#include "esp32-hal-log.h"
#include "esp32-hal-matrix.h"
#include "esp32-hal-uart.h"
#include "esp32-hal-gpio.h"

View File

@ -14,6 +14,8 @@
#include "vfs_api.h"
#include "esp32-hal-log.h"
using namespace fs;
FileImplPtr VFSImpl::open(const char* path, const char* mode)

View File

@ -23,6 +23,8 @@ extern "C" {
#include "SPIFFS.h"
#include "esp32-hal-log.h"
using namespace fs;
class SPIFFSImpl : public VFSImpl

View File

@ -29,6 +29,7 @@ extern "C" {
}
#include "esp32-hal-i2c.h"
#include "esp32-hal-log.h"
#include "Wire.h"
#include "Arduino.h"