I want to use one library called Fauxmoesp for controlling Alexa with ESP32.Now i want to use espidf as a platform with this same function by using the same library. For that i configured arduino as a component in ESPIDF and added Fauxmoesp and AsyncTCP library in the arduino component section.But it seems there are a lot of errors when i am trying to compile a sample programe (just blinking the LED) where AsyncTCP library just initiated which was perectly compiled with arduino IDE.Can anyone help me to reslove the issue,and explain why it is happening..?
/*Code part*/
#include "WiFi.h"
#define CONFIG_BLINK_GPIO 2
#include "fauxmoESP.h"
#include "AsyncTCP.h"
extern "C" void app_main()
{
initArduino();
pinMode(CONFIG_BLINK_GPIO, OUTPUT);
for (;;)
{
digitalWrite(CONFIG_BLINK_GPIO, HIGH);
delay(500);
digitalWrite(CONFIG_BLINK_GPIO, LOW);
delay(500);
}
}
AsyncTCP library is getting a lot of compilation error in ESP IDF.
-
- Posts: 1
- Joined: Thu Dec 28, 2023 7:04 am
Who is online
Users browsing this forum: Bing [Bot], ESP_Sprite and 83 guests