Closed AaronVerDow closed 5 years ago
I'm trying to use this in a project in esp-idf with ardunio-esp32 per:
https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md
This is my main.cpp file that is loaded by the arduino-esp32 component:
#include "Arduino.h" #include "esp_camera.h" #include <AWS_IOT.h> void setup(){ Serial.begin(115200); } void loop(){ Serial.println("loop"); delay(1000); }
As is I get an error importing AWS_IOT.h:
fatal error: AWS_IOT.h: No such file or directory
If I add component.mk (below) to the root of esp32-aws-iot then AWS_IOT.h is found and everything works.
COMPONENT_ADD_INCLUDEDIRS := src
Closing in favor of pull request: https://github.com/jandelgado/esp32-aws-iot/pull/2
I'm trying to use this in a project in esp-idf with ardunio-esp32 per:
https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md
This is my main.cpp file that is loaded by the arduino-esp32 component:
As is I get an error importing AWS_IOT.h:
If I add component.mk (below) to the root of esp32-aws-iot then AWS_IOT.h is found and everything works.