Selecting an ESP32 Port

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
Posts: 1
Joined: Sun Feb 19, 2017 9:22 pm

Selecting an ESP32 Port

Postby koswolf » Tue Mar 07, 2017 4:54 am

I'm working on a project that has a strict requirement for MIT licensing, and we are working with ESP32 modules on a custom PCB.

I've been able to build and load the existing ESP32 port from, but it seems to be missing some core features. I haven't been able to find documentation supporting the use of the UART peripheral, and it seems it's only implemented for the REPL.

Is this true? I know that the pycom port on GitHub has the UART hardware peripherals implemented, but their licensing means I'm not able to make use of their work.

Am I overlooking something, or is there a different fork of the port I should be looking at?

User avatar
Posts: 136
Joined: Fri Oct 31, 2014 10:29 am
Location: Zurich / Switzerland

Re: Selecting an ESP32 Port

Postby marfis » Wed Mar 08, 2017 5:47 am

The pycom esp32 port should be merged soon into the main uPy repository (there was an announcement by damien on this forum a couple of weeks ago).

So I guess you need to be patient...

Posts: 15
Joined: Mon Mar 07, 2016 11:44 pm

Re: Selecting an ESP32 Port

Postby miltmobley » Thu Apr 13, 2017 4:15 am

Have you seen this? ... -the-esp32

It mentions three pull requests to esp-idf repo to meet their requirements, and two to micropython-esp32 repo.
As of today, the support for multiple boards pr is not in m*-esp32.

There is also platformio, a multi board embedded development system, which has several frameworks, e.g. framework-pumbaa.
This framework supports the nano32 board (also esp32 based), and has uart code and mit license.
The uart code is in the simba source subtree. Simba is an rtos by the same author.
The code does the same kind of register flogging seen in stmhal and other hal type products,
so you may be able to adapt it while waiting for micropython/esp/pycom to sort out their differences.

Posts: 8
Joined: Mon Sep 26, 2016 5:44 pm

Re: Selecting an ESP32 Port

Postby eerimoq » Tue Apr 25, 2017 4:51 pm


I'm the author of Pumbaa (and Simba). The UART driver should work on the ESP32. If there is a problem or if you have any questions, just let me know and I can help out. =)

Here is an example of how to use the Uart peripheral on an ESP32 based board:

All code I've written in both Pumbaa and Simba in licensed under the MIT License. However, the FAT16 library is LGPL, and Espressif is Apache 2.0 if I'm not mistaken. The FAT16 library can easily be removed from your application, so don't worry about that.

BR / Erik

Return to “Other Boards”

Who is online

Users browsing this forum: No registered users and 1 guest