Mongoose OS is ported to ESP32

sergey.lyubka
Posts: 12
Joined: Wed Dec 28, 2016 10:55 am

Mongoose OS is ported to ESP32

Postby sergey.lyubka » Wed Dec 28, 2016 11:49 am

Mongoose OS (former mongoose-iot) is ported to ESP32!
POSIX FS, configuration infrastructure, OTA, TLS (including client-side auth), rich networking API, advanced security - https://goo.gl/GC4w8Q.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Mongoose OS is ported to ESP32

Postby kolban » Wed Jan 11, 2017 8:27 pm

I had a bash at using the latest Mongoose and as advertized, it compiled cleanly. These are my notes for getting it running on ESP32 as of this post date:

1. In your project directory, create a components directory.

2. In the components directory, clone Mongoose:
git clone https://github.com/cesanta/mongoose.git

3. In the new Mongoose directory, create a component.mk file containing:

COMPONENT_ADD_INCLUDEDIRS=.

4. Compile your solution.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: Mongoose OS is ported to ESP32

Postby BuddyCasino » Sat May 20, 2017 12:33 pm

Thats the Mongoose networking library, not Mongoose OS. Anyone tried using the full Mongoose OS? How does it integrate with the IDF?

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Mongoose OS is ported to ESP32

Postby kolban » Sat May 20, 2017 12:53 pm

Julian Ilett released a video on using Mongoose OS on the ESP32. A good view to get a taste. See

https://www.youtube.com/watch?v=Y6CZePh5uIA
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: Mongoose OS is ported to ESP32

Postby BuddyCasino » Sat May 20, 2017 6:33 pm

Thanks!
I'd be interested in using the Mongoose networking library plus the RAM optimizations that they made for mbedTLS, but those are only in Mongoose OS (see https://forum.mongoose-os.com/discussion/1065/). I couldn't find their custom version of mbedTLS on Github, which is a pity because that would be killer combination. :-/

Who is online

Users browsing this forum: No registered users and 21 guests