I'm trying to make the ESP8266 RTOS SDK work with my current project. It works well with the hello_world example, so the problem is probably me.
I have a project structure like this:
.
- ├── build_bash.sh
- ├── CMakeLists.txt
- ├── main
- │ ├── CMakeLists.txt
- │ ├── component.mk
- │ ├── debug.c
- │ ├── http_connection.c
- │ ├── https_connection.c
- │ ├── include
- │ │ ├── debug.h
- │ │ ├── http_connection.h
- │ │ ├── https_connection.h
- │ │ ├── sdkconfig.h
- │ │ └── wifi.h
- │ ├── main.c
- │ └── wifi.c
- ├── Makefile
- └── README.md
My problem is when I do
- make menuconfig
- make flash
- /home/psykozz09/Libraries/ESP8266_RTOS_SDK/ESP8266_RTOS_SDK/components/log/include/esp_log.h:131:26: error: 'CONFIG_LOG_DEFAULT_LEVEL' undeclared (first use in this function); did you mean 'LOG_LOCAL_LEVEL'?
- #define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL
Code: Select all
#define CONFIG_LOG_DEFAULT_LEVEL 3
Here is the command in the Makefile in the root directory:
Code: Select all
#
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
# project subdirectory.
#
PROJECT_NAME := alimentaire
include $(IDF_PATH)/make/project.mk
Code: Select all
idf_component_register(SRCS "debug.c" "http_connection.c" "https_connection.c" "main.c" "wifi.c"
INCLUDE_DIRS "include")
If someone can help me to solve this issue. Thank you!