ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]

phantomBlurrr
Posts: 19
Joined: Mon Jun 10, 2019 4:01 pm

ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]

Postby phantomBlurrr » Thu Jan 09, 2020 5:19 pm

Hello,
I am trying to communicate with AWS IoT via the MQTT protocol using "aws-iot-device-sdk-embedded-C" but I can't get my scripts to compile. I include the header file for the functions that I need (it's the AWS functions) but when I compile using "idf.py build" it says the .h files do not exist or cannot be located. I know this is an easy one but...how to tell build where the .h files are located? I am using latest esp-idf for windows10. I am trying to compile using the esp-idf command prompt.
Thanks for any help!

burgersonbrioche
Posts: 4
Joined: Thu Mar 21, 2019 7:58 pm

Re: ESP-IDF and AWS IoT? Can't compile... [esp-idf] [aws IoT]

Postby burgersonbrioche » Fri Jan 31, 2020 10:46 am

Clone ESP-AWS-IoT into the components folder of the esp-idf. The CMakeLists files take care of all of the includes.

Code: Select all

git clone --recursive https://github.com/espressif/esp-aws-iot.git $IDF_PATH/components/aws_iot

-Burgers On Brioche
(If ur gunna do it more than once...automate it!)
"If you're gunna do it more than once, Automate it!"
--Burgers On Brioche

Who is online

Users browsing this forum: No registered users and 104 guests