Page 1 of 1

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

Posted: Thu Jan 09, 2020 5:19 pm
by phantomBlurrr
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!

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

Posted: Fri Jan 31, 2020 10:46 am
by burgersonbrioche
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!)