This article was first published on IOTA - Medium
Building the IOTA CClient project on ESP32
If you are new to ESP32, please follow this document to build and run a hello_world example. Below we describe the CClient build.
- An ESP32-DevKitC
- USB cable — USB A / micro USB B
- ESP32 toolchain
- ESP-IDF (Espressif IoT Development Framework)
Step 1: checkout and initialize the project
This example project calls iota_client_get_node_info() to fetch node information and prints it out on the terminal.
$ git clone --recursive https://github.com/oopsmonk/iota_cclient_esp32.git
$ cd iota_cclient_esp32
$ bash ./init.sh
Step 2: WiFi AP Configuration
Let’s setup the WiFi SSID and password for your project.
Note: ESP32 only supports the WiFi 2.4GHz channel.
$ idf.py menuconfig
Navigate to IOTA CClient Configuration and input your SSID and password.
Setup 3: Build and flash image
Now you are ready to build and flash the image to the ESP32. Please connect to the device via USB....
To keep reading, please go to the original article at:
IOTA - Medium