Posts

Showing posts with the label ESP32

https://www.vultr.com

The Everywhere Cloud

Deploy an instance.
Accelerate your application.


Developing ESP32 with Eclipse on Linux

Image
The following procedure shows how to build ESP32 microcontroller projects with the Eclipse Integrated Development Environment on Debian-based Linux distributions. ========== 1. INSTALLATION 1.1. Install Espressif's IoT Development Framework for ESP32 with the RTOS SDK. https://www.sysadsim.com/2022/09/using-esp-idf-on-linux.html 1.2. Download and install the Eclipse IDE. https://www.sysadsim.com/2022/09/installing-eclipse-ide-on-linux.html 2. PREPARATION 2.1. On the Eclipse IDE, click on the following to install ESP-IDF plugins for Eclipse. [ Help -> Install New Software -> Add... ] Name: Espressif IDF Plugin for Eclipse Location: https://dl.espressif.com/dl/idf-eclipse-plugin/updates/latest/ Click [ Add ]. Go to [ Espressif IDF dropdown ]. Check [ CMake Editor ]. Check [ Espressif IDF Plugins for Eclipse ]. Click [ Next -> Accept license terms -> Finish ]. Wait for plugins download and installation to complete. Click [ Select All -> Trust ] if asked to trust some so...

Developing ESP32 with VS Code on Linux

Image
The following procedure shows how to build ESP32 microcontroller projects with the Visual Studio Code Integrated Development Environment on Debian-based Linux distributions. ========== 1. INSTALLATION 1.1. Install Espressif's IoT Development Framework for ESP32 with the RTOS SDK. https://www.sysadsim.com/2022/09/using-esp-idf-on-linux.html 1.2. Download and install the Visual Studio Code IDE. https://code.visualstudio.com/ 2. PREPARATION 2.1. On the VS Code menu, go to [ File -> Open Folder... ] and open the target ESP32 project folder. Example: ~/esp/esp-idf/examples/get-started/hello_world 2.2. On its bottom panel, click on the Terminal tab. This will automatically change to the location of the opened folder. 2.3. Temporarily add the ESP-IDF toolchain to the shell path. user@host: $ . ~/esp/esp-idf/export.sh or user@host: $ source ~/esp/esp-idf/export.sh 2.4. Verify if the toolchain has been added to the shell path. user@host: $ echo $PATH 3. UTILIZATION 3.1. Maximize the bott...

Using the ESP-IDF on Linux

Image
The following procedure shows how to use Espressif's Internet-of-Things Development Framework for ESP32 microcontrollers on Debian-based Linux distributions. The ESP-IDF uses the Real-Time Operating System (RTOS) Software Development Kit (SDK). ========== 1. INSTALLATION 1.1. Update package indexes and install the prerequisites. user@host: $ sudo apt-get update user@host: $ sudo apt-get install bison libbison-dev user@host: $ sudo apt-get install cmake user@host: $ sudo apt-get install flex libfl-dev libfl2 user@host: $ sudo apt-get install git user@host: $ sudo apt-get install gperf user@host: $ sudo apt-get install libncurses-dev user@host: $ sudo apt-get install python3 python3-dev python3-pip python3-venv python3-wheel 1.2. Clone the development repository from GitHub. This will download to a directory with the same name. user@host: $ mkdir esp user@host: $ cd esp user@host: $ git clone --recursive https://github.com/espressif/esp-idf.git 1.2.1. For specific releases, clone the...