ESP32

ChibiOS public support forum for topics related to the Espressif ESP32 family of micro-controllers.
mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

ESP32

Postby mobyfab » Mon Nov 21, 2016 2:50 pm

Hi guys,

So there's this new MCU that was just released, from the same company as the famous ESP8266.
It's a dual core running at 160MHz, tons of ram and (external) flash, lots of peripherals. It's perfect for a full IOT solution.
Right now there's support for FreeRTOS, it would be nice to port it to ChibiOS.

https://en.wikipedia.org/wiki/ESP32

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: ESP32

Postby Giovanni » Mon Nov 21, 2016 3:03 pm

Hi,

Interesting but it would be a major endeavour, especially creating an HAL. Boards, compiler and debuggers would required, is there open source support?

Integrated wireless interfaces is great anyway.

Giovanni

mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

Re: ESP32

Postby mobyfab » Mon Nov 21, 2016 3:26 pm

The SDK is open source

Here: https://github.com/espressif/esp-idf
OpenOCD support: https://github.com/espressif/openocd-esp32

The wifi and bluetooth libs are still provided as binaries.

avrhack
Posts: 140
Joined: Tue Dec 24, 2013 1:42 pm
Has thanked: 17 times
Been thanked: 3 times

Re: ESP32

Postby avrhack » Sat Dec 17, 2016 11:14 pm

Yeah I'd love to see ChibiOS on this although as Giovanni says it's a major undertaking. Although the SDK is open source as mobyfab indicated, I believe there are major parts of the overall environment that are closed by Espressif so not sure how feasible it would be.....

inca
Posts: 37
Joined: Mon Apr 22, 2013 12:08 am

Re: ESP32

Postby inca » Sat Mar 11, 2017 11:24 pm

Well, the code for FreeRTOS HAL is open source, so it cannot be too hard. =)

I would also like to see this as well.

I have been away from this scene for a bit, though I may take the first steps as a fun exercise for getting back in touch with ChibiOS and learning a new MCU. When I look at it later tonight I'll keep in touch over on the irc @ #chibios. Cheers!

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: ESP32

Postby Giovanni » Sun Mar 12, 2017 7:26 am

Hi,

Supporting new MCU families involves finding people working on them, are you volunteering ? :)

Giovanni

davidbuzz
Posts: 19
Joined: Tue Nov 13, 2018 7:06 am
Has thanked: 1 time
Been thanked: 1 time

Re: ESP32

Postby davidbuzz » Tue Nov 13, 2018 7:09 am

I'm a competent esp32 developer, and an ardupilot developer ( runs on chibios), and would love to see chibios ported to esp32, but the low-level bring-up is beyond my skills to do on my own... is there a chat channel where we could try as a group to do this..?

davidbuzz
Posts: 19
Joined: Tue Nov 13, 2018 7:06 am
Has thanked: 1 time
Been thanked: 1 time

Re: ESP32

Postby davidbuzz » Tue Nov 13, 2018 7:10 am

... there is clearly interest elsewhere too... eg: https://github.com/ArduPilot/ardupilot/issues/7751

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: ESP32

Postby Giovanni » Tue Nov 13, 2018 8:46 am

Hi,

If there is a group willing to give it a try then I could provide a forum area and try to support the effort. Getting started with simple drivers should not be a huge effort. The plan is simple:

1) Make a clock tree initialization, it does not need to be fully configurable initially.
2) Make a PAL driver, easy usually.
3) Make a serial driver, easy usually.
4) Make a simple demo running the test suite on serial output (the same you see for STM32).

Now you have the bare minimum for a "supported platform". From here you can decide on which drivers to invest your time, the hard ones are USB and Ethernet.

Do you need to support a specific device or a whole family? the latter can be more complex, see the STM32 source tree, there are hundreds of those.

Giovanni

davidbuzz
Posts: 19
Joined: Tue Nov 13, 2018 7:06 am
Has thanked: 1 time
Been thanked: 1 time

Re: ESP32

Postby davidbuzz » Tue Nov 13, 2018 3:17 pm

A forum area, and whatnot sounds great. I'm in. Who else?


Return to “ESP32 Support”

Who is online

Users browsing this forum: No registered users and 1 guest