prusa3d / Prusa-ESP-Nic-FW

ESP8266 as generic network interface over UART
15 stars 10 forks source link

WiFi NIC

How to run this

This implements Wifi NIC on top of UART and ESP8266. The NIC can be used either on Linux using provided script or attached to another MCU and integrated with LwIP as network interface.

Build environment

Either build docker image as described by provided Dockerfile or proceed according to the ESP8266 RTOS SDK user manual

Build

This assumes SDK environemnt was sources and current directory is checked out root of the project.

Build the project and flash it to the board, then run monitor tool to view serial output:

idf.py all

Flash from printer

Create ESP directory in the root of the USB flash drive. Copy following files to it:

Insert it into printer and start ESP flash from the menu.

Flash using USB "programmer"

Reset ESP with IO0 down and issue the following command.

idf.py -p /dev/ttyXXX flash

Test on Linux