Hello All, just setup Espressif IDE and to test I built the Hello World app.
When building I get some errors with the #define not being resolved:
chip_info.features & CHIP_FEATURE_WIFI_BGN) ? "WiFi/" : "",
(chip_info.features & CHIP_FEATURE_BT) ? "BT" : "",
(chip_info.features & CHIP_FEATURE_BLE) ? "BLE" : "",
(chip_info.features & CHIP_FEATURE_IEEE802154) ? ", 802.15.4 (Zigbee/Thread)" : "");
In looking at the #include statements I can tell that these #define's are located in the
#include "esp_chip_info.h" header file.
The path for this header file is located in the esp_idf folders
The question is, in Espressif IDE how to you reference the location of these header files?
Do I have to add them to the CmakeLists.txt file with an add statement or is there an include path that has to be set?
I had to switch from Visual Studio Code as I could not get projects to build, way too many issues. So I switched to Espressif IDE, which I am not familiar with.
Thanks
Joe
Espressif IDE and .h files
-
- Posts: 76
- Joined: Tue Sep 12, 2017 11:25 am
Re: Espressif IDE and .h files
Hi, I compile directly from the command line and all that is needed is to set the environment variables.
https://docs.espressif.com/projects/esp ... -variables
Best regards
https://docs.espressif.com/projects/esp ... -variables
Best regards
Re: Espressif IDE and .h files
Thanks @Nespressif, I will try that.
Joe
Joe
Who is online
Users browsing this forum: No registered users and 370 guests