Skip to content

nlmj/esp32_hello_world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World

My first ESP32 program. This project uses the sample Hello World from esp-idf examples.
Directory: ~/esp/hello_world
To build and flash: idf.py build && idf.py -p /dev/tty.SLAB_USBtoUART flash

Motivation

Installing and setting up esp-idf environment for future development. Install esp-idf following espressif documentation.

Tools

macOS Cataline Version 10.15.5
ESP-IDF v4.2-dev-1660-g7d7521367
ESP32 WROOM
Adafruit HUZZAH32 Feather

Problems and Solutions

Mac couldn't detect the port connecting to ESP32. Lacking drivers. Github discussion.
Solution: Install CP210x VCP Driver.

Mac couldn't detect the port connecting to ESP32 even after installing the driver. Faulty Cable.
Solution: Replace cable. I used a USB Type C to Type A converter to a USB Type A to Micro USB.

idf.py doesn't work after closing terminal after setup. Solution: macOS Catalina uses zsh terminal.
Create .zshrc in ~/ directory:

$ touch ~/.zhrc

Include these lines inside ~/.zhrc:

export IDF_PATH=~/esp/esp-idf
export PATH="$IDF_PATH/tools:$PATH"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published