My little blog can’t be this cute!
commit: 6e168c1549b44de1edc62419e96ed655003b20a6
parent: fe155bf8f9ce8d320ae892c0cdd26bf6b066f0d1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 10 Feb 2018 17:46:46 +0100

notes/drivers: ESP32 section


1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/notes/drivers.shtml b/notes/drivers.shtml @@ -45,6 +45,28 @@ CONFIG_USB_UHCI=y</code></pre></li> <li>IOMMU: enabled <li>Port 60/64 (PS/2) emulation: disabled </ul> + <h2>ESP32</h2> +<code><pre>Symbol: USB_SERIAL_CP210X [=m] + Type : tristate + Prompt: USB CP210x family of UART Bridge Controllers + Location: + -> Device Drivers + -> USB support (USB_SUPPORT [=y]) + -> USB Serial Converter support (USB_SERIAL [=y]) + Defined at drivers/usb/serial/Kconfig:135 + Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=y]</pre></code> + <p>Mine is on the <a href="https://nodemcu.readthedocs.io/en/master/">NodeMCU</a> firmware by default. I connected to it using <code>picocom /dev/ttyUSB0</code> and by pressing the RST button I get this output :</p> +<code><pre>NodeMCU custom build by frightanic.com + branch: master + commit: c8037568571edb5c568c2f8231e4f8ce0683b883 + SSL: false + modules: cjson,file,gpio,net,node,pwm,tmr,uart,wifi + build built on: 2016-03-14 02:10 + powered by Lua 5.1.4 on SDK 1.4.0 +lua: cannot open init.lua</pre></code> +<p>And here is a Hello World in Lua (<code>&gt; </code> is the prompt) to test it further</p> +<code><pre>&gt; print("Hello World") +Hello World</pre></code> </main> <!--#include file="/templates/en/footer.html" --> </body>