Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 731 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 731 Bytes

Esp32_uart_class

Simple class for initialization of uart ports on esp32

Steps how to run it:

git clone https://github.com/bkresaj/Esp32_uart_class.git

Run docker container inside folder(firstly it will download docker image):

docker run --rm -v $PWD:/project -w /project -u $UID -e HOME=/tmp -it --device=<esp32_port_when_connected> espressif/idf

Inside docker container:

cd /example

For building source code

idf.py build

For flashing code to esp32

idf.py flash --port <esp32_port_name>

For monitoring logs from esp32

idf.py monitor -- port <esp32_port_name>

For deleting build folder

idf.py clean