Skip to content

gpanders/esp32-zig-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp32-zig-starter

A simple starter project for integrating Zig code into the Espressif IoT Development Framework (ESP-IDF) build system.

The example in this project is essentially a port of the blink example from the ESP-IDF. The project targets an ESP32C3. The goal of this project is not to support multiple targets or be a "framework": it is simply a starting point for you to copy from for building your own Zig components in ESP-IDF.

Quickstart

Follow the Espressif documentation for installing ESP-IDF. Set $IDF_PATH to the location of your esp-idf installation.

Clone this repository and navigate to the project root:

git clone https://github.com/gpanders/esp32-zig-starter
cd esp32-zig-starter

Build the project and flash it to the device:

idf.py set-target esp32c3
idf.py build
idf.py -p PORT flash

(Optional) Open a serial console to view log messages:

idf.py -p PORT monitor

About

Starter project for using Zig with ESP IDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published