uart lib not found on ESP32 board

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.
Posts: 1
Joined: Fri Nov 04, 2016 11:18 am

uart lib not found on ESP32 board

Postby jpvic » Sun Jan 01, 2017 4:55 pm


I purchased an esp32 board from sparkfun :

I used the instructions as described on ... sp32/esp32 . There is a reference to where you find per-platform the build instructions. I use the Ubuntu on a chromebook ( crouton ) so I followed the detailed documentation on ... -setup.rst.

The build of the code was straight forward and done without error message. The ESP-32 board was flashed easily and I can make the connection and execute the all common python command.

But I can find the uart lib.

>>> import machine
>>> dir(machine)
['__name__', 'mem8', 'mem16', 'mem32', 'freq', 'reset', 'idle', 'time_pulse_us', 'Pin', 'I2C', 'SPI']

I didn't find a compile flag for enabling uart-functionality on esp32 so I would expect it is default.

Can someone give me a hint where I have to look, please?


Return to “Other Boards”

Who is online

Users browsing this forum: chucku and 2 guests