ESP32-Azure IoT Kit Compilation Error

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

ESP32-Azure IoT Kit Compilation Error

Postby Serena Yeoh » Tue Oct 08, 2019 7:28 am

Hi,

I am trying to compile the ESP32-Azure IoT Kit examples found here (https://github.com/espressif/esp-iot-solution) but they failed. I have already setup the toolchain and IOT_SOLUTION_PATH. I can use idf.py build to compile the blink sample and hello_world but it cannot compile the ESP32-Azure IoT Kit.

I followed the instructions here (https://docs.espressif.com/projects/esp ... setup.html) to setup the toolchain.

I hope someone can help advise or guide me to make it work.

Thank You.

jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

Re: ESP32-Azure IoT Kit Compilation Error

Postby jsam589 » Tue Oct 08, 2019 4:34 pm

I was able to use these components to successfully build for v3.3 IDF on Linux.
Port of Azure for ESP32: https://github.com/espressif/esp-azure

One example we started with: https://github.com/espressif/esp-azure/ ... ample_mqtt

I am not sure how much different these things may be from what you are trying.

I am also about to try to build mine under IDF v4.0-beta1 on Linux, which uses a new xtensa toolchain, and hopefully it will build okay.

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

Re: ESP32-Azure IoT Kit Compilation Error

Postby Serena Yeoh » Wed Oct 09, 2019 12:58 am

Yes, I managed to get it to compile on IDF 3.3 but on eclipse, the IDE does not seem to be able to pick-up the header files for intellisense. I wonder what I did wrong.

Do share your experience if you could get it to compile on IDF 4. I think IDF 4 is awesome and is so much better than the previous versions.

Thank you for pointing me to the Azure samples. I did have that link on my bookmark but I was too engrossed in getting the IoT Kit samples to work first and did not really look into that. How was your experience with it? Was it any good?

Thank You.

jsam589
Posts: 74
Joined: Sat Aug 17, 2019 9:31 pm

Re: ESP32-Azure IoT Kit Compilation Error

Postby jsam589 » Mon Oct 14, 2019 3:13 pm

I am still having trouble getting esp-azure to build under v4.0-beta1. I posted a new topic with my findings.

viewtopic.php?f=13&t=12695

I mention in this new post that I can reproduce the issue using the console example provided with IDF and esp-azure obtained from GitHub

Serena Yeoh
Posts: 8
Joined: Fri Sep 20, 2019 8:42 am

Re: ESP32-Azure IoT Kit Compilation Error

Postby Serena Yeoh » Wed Oct 16, 2019 3:31 am

Both esp-azure and esp32_azure_iot_kit can be compiled on IDF3.3 regardless of using Eclipse or command line.

Both fails on IDF4.0b1. In fact, I tried to test compiling the smart_device sample as mentioned in the instructions for testing and it also failed.

Hope they can be fixed soon. :)

Who is online

Users browsing this forum: No registered users and 50 guests