Page 1 of 1

Amazon RTOS

Posted: Fri Oct 04, 2019 9:01 am
by bhakti
Hello,

AWS have list of boards of Amazon FreeRTOS qualified devices, including ESP32-DevKitC and ESP-WROVER-KIT of espressif.
( https://docs.aws.amazon.com/freertos/la ... dware.html )
What dose it mean? Can I use Amazon freertos with other boards of ESP32. (for example ESP32-EVB by olimex)

Re: Amazon RTOS

Posted: Sat Oct 05, 2019 5:49 am
by danak6jq
I don't speak for either Espressif or AWS, but I'd say, compare schematics, look at the pin connections.

Odds are the Amazon FreeRTOS works on the Espressif boards based on the ESP32 modules. Note that Amazon FreeRTOS is based on FreeRTOS v10 and does not yet include the Espressif SMP extensions, so you'll get a single-core system with it. Supposedly Espressif is hard at work to port their SMP bits into v10 to contribute to FreeRTOS - when that's integrated upstream, then Amazon FreeRTOS might just be SMP (dual-core) capable.

Re: Amazon RTOS

Posted: Mon Oct 14, 2019 6:02 am
by bhakti
danak6jq wrote:
Sat Oct 05, 2019 5:49 am
I don't speak for either Espressif or AWS, but I'd say, compare schematics, look at the pin connections.

Odds are the Amazon FreeRTOS works on the Espressif boards based on the ESP32 modules. Note that Amazon FreeRTOS is based on FreeRTOS v10 and does not yet include the Espressif SMP extensions, so you'll get a single-core system with it. Supposedly Espressif is hard at work to port their SMP bits into v10 to contribute to FreeRTOS - when that's integrated upstream, then Amazon FreeRTOS might just be SMP (dual-core) capable.
Thanks for the information. It was very help full.

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 ?

Thanks in advance.

Re: Amazon RTOS

Posted: Mon Oct 14, 2019 2:09 pm
by chegewara
I have few AWSFreeRTOS projects on my account but im still far from being expert. This is what i know/think:
- AWSFreeRTOS is currently using esp-idf stack based on v3.1.x which is included here:
https://github.com/aws/amazon-freertos/ ... if/esp-idf
- AWSFreeRTOS is using few components that are ported so could be used with AWSFreeRTOS, look at here:
https://github.com/aws/amazon-freertos/ ... essif_code
- as you can see one of ported components is tcpip_adapter; i wanted to use http client so ive been trying to replace it with component from esp-idf but it wont work
- in AWSFreeRTOS master is added HTTP client functionality (i didnt test it yet), but i know nothing about HTTP server, you should ask on AFR github.

Re: Amazon RTOS

Posted: Thu Nov 14, 2019 9:36 am
by StarterKit
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.

Re: Amazon RTOS

Posted: Thu Nov 28, 2019 4:25 pm
by Rajneesh
Hello

I am also working on Amazon freeRTOS platform and facing an issue to port/integrate HTTP server (as this is not available). So, I asked this questions to Amazon developer forum and they replied as below:

https://forums.aws.amazon.com/thread.js ... dID=313477

They told me to contact with Espressif to get help. Can I get any help from here?

Any help will be appreciated.

Thank you.