forked from espressif/arduino-esp32
Dont include log header by default everywhere
This commit is contained in:
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "pins_arduino.h"
|
#include "pins_arduino.h"
|
||||||
#include "HardwareSerial.h"
|
#include "HardwareSerial.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
|
|
||||||
#if CONFIG_IDF_TARGET_ESP32
|
#if CONFIG_IDF_TARGET_ESP32
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "esp32-hal-adc.h"
|
#include "esp32-hal-adc.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
#include "freertos/FreeRTOS.h"
|
#include "freertos/FreeRTOS.h"
|
||||||
#include "freertos/task.h"
|
#include "freertos/task.h"
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include "soc/efuse_reg.h"
|
#include "soc/efuse_reg.h"
|
||||||
#include "esp32-hal.h"
|
#include "esp32-hal.h"
|
||||||
#include "esp32-hal-cpu.h"
|
#include "esp32-hal-cpu.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
|
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+
|
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
#include "soc/dport_reg.h"
|
#include "soc/dport_reg.h"
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#include "esp32-hal-cpu.h" // cpu clock change support 31DEC2018
|
#include "esp32-hal-cpu.h" // cpu clock change support 31DEC2018
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
|
|
||||||
#include "esp_system.h"
|
#include "esp_system.h"
|
||||||
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+
|
#ifdef ESP_IDF_VERSION_MAJOR // IDF 4+
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include "freertos/task.h"
|
#include "freertos/task.h"
|
||||||
#include "freertos/semphr.h"
|
#include "freertos/semphr.h"
|
||||||
#include "esp32-hal-matrix.h"
|
#include "esp32-hal-matrix.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
#include "soc/dport_reg.h"
|
#include "soc/dport_reg.h"
|
||||||
#include "soc/ledc_reg.h"
|
#include "soc/ledc_reg.h"
|
||||||
#include "soc/ledc_struct.h"
|
#include "soc/ledc_struct.h"
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include "freertos/semphr.h"
|
#include "freertos/semphr.h"
|
||||||
|
|
||||||
#include "esp32-hal.h"
|
#include "esp32-hal.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
#include "esp8266-compat.h"
|
#include "esp8266-compat.h"
|
||||||
#include "soc/gpio_reg.h"
|
#include "soc/gpio_reg.h"
|
||||||
#include "soc/rmt_struct.h"
|
#include "soc/rmt_struct.h"
|
||||||
|
@ -68,7 +68,7 @@ void yield(void);
|
|||||||
#define ESP_REG(addr) *((volatile uint32_t *)(addr))
|
#define ESP_REG(addr) *((volatile uint32_t *)(addr))
|
||||||
#define NOP() asm volatile ("nop")
|
#define NOP() asm volatile ("nop")
|
||||||
|
|
||||||
#include "esp32-hal-log.h"
|
//#include "esp32-hal-log.h"
|
||||||
#include "esp32-hal-matrix.h"
|
#include "esp32-hal-matrix.h"
|
||||||
#include "esp32-hal-uart.h"
|
#include "esp32-hal-uart.h"
|
||||||
#include "esp32-hal-gpio.h"
|
#include "esp32-hal-gpio.h"
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#include "vfs_api.h"
|
#include "vfs_api.h"
|
||||||
|
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
|
|
||||||
using namespace fs;
|
using namespace fs;
|
||||||
|
|
||||||
FileImplPtr VFSImpl::open(const char* path, const char* mode)
|
FileImplPtr VFSImpl::open(const char* path, const char* mode)
|
||||||
|
@ -23,6 +23,8 @@ extern "C" {
|
|||||||
|
|
||||||
#include "SPIFFS.h"
|
#include "SPIFFS.h"
|
||||||
|
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
|
|
||||||
using namespace fs;
|
using namespace fs;
|
||||||
|
|
||||||
class SPIFFSImpl : public VFSImpl
|
class SPIFFSImpl : public VFSImpl
|
||||||
|
@ -29,6 +29,7 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include "esp32-hal-i2c.h"
|
#include "esp32-hal-i2c.h"
|
||||||
|
#include "esp32-hal-log.h"
|
||||||
#include "Wire.h"
|
#include "Wire.h"
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user