bhakti wrote: ↑Mon Oct 14, 2019 6:02 am
I have been through getting started guide of AWS (
https://docs.aws.amazon.com/freertos/la ... essif.html) and I have set all development environment also tested MQTT demo code successfully. I am new to this platform and getting confused how to use Amazon freertos and esp-idf together for development.
I have evaluated ESP32-EVB board and tested esp-idf examples (Webserver, ethrnet, wifi etc.) on it. That's only knowledge I have about it. I need to test a web server and hardware interfaces (like GPIO's and SPI flash) together using Amazon freertos and esp idf.
There is no demo code of web server in amazon freertos. So how to start from scratch?
Hi, bhakti
No, I think you don't need to start form scratch.
I played with ESP32 and Amazon IoT to make my small project. I started with ESP-IDF to understand how to work with ESP32.
After some successful tests I added AWS IoT SDK (
https://github.com/espressif/esp-aws-iot) to my project and started to use it's functions.
It compiles and works fine.
So, coming back to your question - I see that ESP-IDF have http_server example so I think you may start form it. And then add AWS IoT SDK to make calls to the Cloud.
I haven't mention FreeRTOS as I think it makes some confusion here... FreeRTOS is just a low level layer to operate with ESP32. Both, Espressif and Amazon SDKs work above it.