'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Maruti@16
Posts: 1
Joined: Mon Nov 19, 2018 1:02 pm

'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Postby Maruti@16 » Wed Mar 06, 2019 10:28 am

Hi everyone,

I'm trying to flash the code into ESP32-WROOM-32D using MingW terminal.
I got following type of errors:

C:/Users/e0507632/Desktop/PXGreen/pxgreen_esp32/submoduleESP32/components/log/include/esp_log.h:115:26: error: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope
#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL


How to tackle with this problem?

Thank you in advance

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Postby fly135 » Wed Mar 06, 2019 7:14 pm

It's in your sdkconfig file, and ultimately ends up in .../build/include/sdkconfig.h. Not sure what you are doing wrong.

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Postby ESP_Angus » Thu Mar 07, 2019 2:19 am

Hi Maruti,

Yes, this suggests something has gone wrong inside the ESP-IDF build system.

Please check you followed all the steps in the Getting Started guide. If you're still stuck, please post the entire output from the "make" command you are running.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 73 guests