Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Support for Espressif ESP32 #3

Closed
sethvoltz opened this issue Nov 30, 2017 · 28 comments
Closed

Support for Espressif ESP32 #3

sethvoltz opened this issue Nov 30, 2017 · 28 comments

Comments

@sethvoltz
Copy link

Similar to #1, support for the ESP32 micro-controller opens up a large number of inexpensive edge devices that come stock with wifi, bluetooth and crypto.

@denyssene
Copy link

I think there's a port of freertos that works in esp32, but it's unofficial.

@locomuco
Copy link

locomuco commented Dec 1, 2017

espressif IDF utilizes FreeRTOS already

see here

@sethvoltz
Copy link
Author

I assume there is still additional work to be done for Amazon to validate their libs but that’s great that it already supports FreeRTOS in general.

@adjervis
Copy link

adjervis commented Dec 7, 2017

Thank you for the valuable feedback. Such requests are important to us and we will take them into consideration in prioritizing our support for the ESP32 device.

@gcohen10
Copy link

gcohen10 commented Dec 9, 2017

Is there support for ESP32 or will it take time ?

@adjervis
Copy link

We value your input, and will consider support for ESP32 in our future plans.

@mrmonteith
Copy link

Any update on this?

@prasadvya
Copy link

Thanks again for your interest. ExpressIf and Amazon FreeRTOS (AFR) are currently collaborating on a project to allow AFR to support ESP32 (see here). We will keep you appraised about when the port to ESP32 is available.

@denyssene
Copy link

Nice. Ordering new esp32 boards now!

@Alutun
Copy link

Alutun commented Mar 28, 2018

I hope it will come out soon !

@erkki
Copy link

erkki commented Apr 3, 2018

Any comments on the future direction of this? Will you be porting ESP32 specific (SMP related) FreeRTOS changes to AFR or pushing for ExpressIf to integrate AFR related bits into their SDK? This impacts future planning as their current AWS IoT integration is based on the aws-iot-device-sdk-embedded-C which AFR is not using (as far as I can see. Any rationale on this?)

@ourairquality
Copy link

Would also be curious if FreeRTOS will integrate the SMP and other changes, but also if the ESP code will still use the lwip stack or if the goal is to use the AFR tcp/ip stack?

Little off topic, but for the esp8266 recent changes support an extra 16k of iram that makes SSL more practical, and might make this a possible limited target too.

'SSL maximum fragment size' support on the Amazon servers is badly needed and is there any chance of changes on that side too to better support the IoT using limited devices?

@awsota
Copy link

awsota commented Apr 7, 2018

We are currently working with Espressif to launch support for ESP32. We are using a single core only, but the SMP version from Espressif may be compatible, if needed for your use case.

@rzr
Copy link

rzr commented Apr 17, 2018

Any ETA ? do you suggest to work with espressif SDK meanwhile ?

@Alutun
Copy link

Alutun commented Apr 17, 2018

Same question here =) Would be nice to have an ETA even not precise but we can get an idea, I got an huge project coming, If i start with espressif SDK and three weeks later it's release I wlll waste time.

@ravibhagavandas
Copy link
Contributor

Support for Espressif ESP32 is now available with the release of Amazon FreeRTOS 1.2.5.

@denyssene
Copy link

That's great news!

@ravibhagavandas
Copy link
Contributor

To get started quickly with Amazon FreeRTOS for ESP32, please reference the Getting Started Guide.

@paulreimer
Copy link

Is dual-core supported for ESP32 at this time?

@ravibhagavandas
Copy link
Contributor

No, dual core is not supported at this time with Amazon FreeRTOS for ESP32.

@ravibhagavandas
Copy link
Contributor

Adding to the above comment, Espressif has developed ESP-IDF FreeRTOS which is a modified version of Vanilla FreeRTOS with support for SMP.
It might be possible in your case to combine the ESP-IDF version of the FreeRTOS kernel with Amazon FreeRTOS libraries to run FreeRTOS on dual cores and securely connect to AWS IOT.

@anujdeshpande
Copy link

@ravibhagavandas ESP-IDF also has support for AWS IoT using the AWS IoT SDK for C

@cagdasdoner
Copy link

cagdasdoner commented May 18, 2018

Anybody else having trouble with compiling demo code -because of current lwip stack of IDF-? ✋
i.e. lwip/ip_addr.h:85:39: error: 'ip_addr_t {aka const struct ip4_addr}' has no member named 'u_addr'

EDIT : Found that Freertos already includes IDF for ESP. Done. Maybe Espressif IDF may have these modifs with profiling or compile switches.

@jllorenzo
Copy link

jllorenzo commented May 19, 2018

cagdasdoner
(If IDF_PATH is set then is recommend that you remove it before building Amazon FreeRTOS)

@pavanshah2001
Copy link

pavanshah2001 commented Jun 2, 2018

All the demos run properly, except the OTA update demo, it gives following error ,undefined reference to `vStartOTAUpdateDemoTask'.
I just executed all demos, by commenting and uncommenting demos in aws_demo_runner.c

Looks like something minor, kindly help

@Noggin01
Copy link

Noggin01 commented Jun 2, 2018

Amazon doesn't support lwIP which is required for OTA updates. You'll need to update the OS to support lwIP or update OTA to use the sockets that Amazon is using. I suspect updating the OTA would be easier.

I've switched to using the official ESP-IDF instead of a:FreeRTOS.

@pavanshah2001
Copy link

@Noggin01 , Got it, thanks for the reply!!

@aggarg
Copy link
Member

aggarg commented Jun 6, 2018

As ESP32 is now supported, I am closing this. Let us know if you need anything else.

Thanks.

shubhamkulkarni97 pushed a commit to shubhamkulkarni97/amazon-freertos that referenced this issue Sep 14, 2020
When running the first cmake command it was pointing to the wrong FreeRTOS folder
chinglee-iot pushed a commit to chinglee-iot/amazon-freertos that referenced this issue Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests