Hi,
Is there any plan to make ESP32 officially supported with Amazon FreeRTOS?
Thanks,
Jack
Amazon FreeRTOS
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Amazon FreeRTOS
We heard the announcement when you did, so we haven't been able to make any thorough plans. We do have a plan to make the ESP32 compatible with the Amazon SDK somehow, but no concrete details to the way we're going to implement that are available yet.
Re: Amazon FreeRTOS
On a related note, it appears the new (stock, non-Amazon-specific) FreeRTOS 10.x has some really cool new features, and falls under the MIT license (instead of the previous LGPL).
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Amazon FreeRTOS
Anything specific you'd like to see pop up in esp-idf?
Re: Amazon FreeRTOS
I must say, I think the new StreamBuffer data structures seem awesome. I know that esp-idf has DMA chaining using FreeRTOS queues already done, but I imagine that StreamBuffer would be the (new) standard way to do that. It seems like a slightly more raw way to receive bytes directly into a task from an ISR (e.g. the PCM stream from the I2S).
https://freertos.org/RTOS-stream-message-buffers.html
Personally, I'm hoping that with AWS behind FreeRTOS there will soon be a bunch of new libraries (and a large developer ecosystem of new devs) built for it. And since I think they will all be starting with AWS FreeRTOS 10.x, then my biggest hope is that ESP32 will be able to benefit from it (e.g. re-using the libraries for ESP32). So in a way, I'm actually most interested in a good interop story between AWS FreeRTOS libraries and esp-idf. First-class support would obviously be great -- doesn't AWS want this too? -- but even backports onto old FreeRTOS or a shim between the AWS layers and esp-idf would be helpful.
I think AWS provides their own secure_sockets layer (they do not use lwIP), but it does seem they provide an interface to implement for other boards.
https://github.com/aws/amazon-freertos/ ... _sockets.c
https://freertos.org/RTOS-stream-message-buffers.html
Personally, I'm hoping that with AWS behind FreeRTOS there will soon be a bunch of new libraries (and a large developer ecosystem of new devs) built for it. And since I think they will all be starting with AWS FreeRTOS 10.x, then my biggest hope is that ESP32 will be able to benefit from it (e.g. re-using the libraries for ESP32). So in a way, I'm actually most interested in a good interop story between AWS FreeRTOS libraries and esp-idf. First-class support would obviously be great -- doesn't AWS want this too? -- but even backports onto old FreeRTOS or a shim between the AWS layers and esp-idf would be helpful.
I think AWS provides their own secure_sockets layer (they do not use lwIP), but it does seem they provide an interface to implement for other boards.
https://github.com/aws/amazon-freertos/ ... _sockets.c
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Amazon FreeRTOS
Actually, as far as I can see, stream buffers are not much more than queues but with variable element size support. We have that in esp-idf as ringbuffers (components/FreeRTOS/ringbuf.c), and it does a few more things than that (e.g. zero-copy receiving of data).
We indeed are looking into seeing how esp-idf / esp32 can benefit from this new development; we're still looking into the details on how to exactly implement this, however.
We indeed are looking into seeing how esp-idf / esp32 can benefit from this new development; we're still looking into the details on how to exactly implement this, however.
Re: Amazon FreeRTOS
added a pull-request to esp-idf for message buffers, if anyone is specifically interested:
https://github.com/espressif/esp-idf/pull/1447
https://github.com/espressif/esp-idf/pull/1447
Re: Amazon FreeRTOS
Does esp-idf rely on any of the additions you have made to FreeRTOS or should it be possible to add Xtensa support to FreeRTOS 10 and run the existing Wifi/BT stacks? Are the APIs required by the wifi/bt stacks specified anywhere or would it be best to look at the imports on the binaries?
Who is online
Users browsing this forum: No registered users and 47 guests