HamzaHajeir / esp32-arduino-lib-builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tasmota Arduino PlatformIO framework builder ESP32 builderGitHub Releases

This repository contains the scripts that produce the libraries included with Tasmota esp32-arduino.

Build on Ubuntu

sudo apt update && sudo apt install -y git wget curl libssl-dev libncurses-dev flex bison gperf python3 cmake ninja-build ccache jq
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && \
pip3 install setuptools pyserial click future wheel cryptography pyparsing pyelftools
git clone https://github.com/Jason2866/esp32-arduino-lib-builder
cd esp32-arduino-lib-builder
./build.sh

Using the User Interface

You can more easily build the libraries using the user interface found in the tools/config_editor/ folder. It is a Python script that allows you to select and edit the options for the libraries you want to build. The script has mouse support and can also be pre-configured using the same command line arguments as the build.sh script. For more information and troubleshooting, please refer to the UI README.

To use it, follow these steps:

  1. Make sure you have the required dependencies installed:
  • Python 3.9 or later
  • The Textual library
  • All the dependencies listed in the previous section
  1. Execute the script tools/config_editor/app.py from any folder. It will automatically detect the path to the root of the repository.

  2. Configure the compilation and ESP-IDF options as desired.

  3. Click on the "Compile Static Libraries" button to start the compilation process.

  4. The script will show the compilation output in a new screen. Note that the compilation process can take many hours, depending on the number of libraries selected and the options chosen.

  5. If the compilation is successful you can find the Platformio framework in the dist folder alongside this repository.

Documentation

For more information about how to use the Library builder, please refer to this Documentation page

Development builds

Look in release and download a version. There is the Info of the used commits of IDF / Arduino.

About


Languages

Language:C 75.5%Language:Shell 12.2%Language:Python 9.7%Language:CMake 2.6%Language:C++ 0.0%Language:Makefile 0.0%