Skip to content

twischi/tw-esp32-arduino-lib-builder

Repository files navigation

ESP32 Arduino Lib Builder

This repository is a FORK of the espressif/esp32-arduino-lib-builder and contains the scripts that produce the libraries included with esp32-arduino.

It contains modifications in the manner to ...

  • Get info in Terminal to see, what is going on, without getting floated with messages.
  • See what scripts are called & what files & Folder they generate (build.sh).
  • Get it running on macOS.
  • Add new arguments to come up with more easy to understand the (build.sh)-output.
  • Integates PlatformIO output. Thanks! to: Jason2888

To used with macOS...

It is tested with:

  • macOS Moneytary running on (Intel)
  • macOS Ventura running on (ARM/M1)

Install needed tools on macOS:

  • Install Xcode as it provide the needed build cababilities

  • This tools are already installed with macOS or XCode: git, flex, bison, gperf

    • You and simply check if installed example: git --version
  • Install Phython for macOS

    • Don't forget to update the Certificates with 'Install Certificates.command' after installation!
  • Install with Homebrew

    # See what already is installed 
    brew list # All
    brew list wget # Check a certain package
    # Install what is missing - ONE BY ONE!!! NOT in one line!! like here.. 
    brew install wget, curl, openssl, ncurses, cmake, ninja, ccache, jq, gsed, gawk, dfu-util
  • Install Python-Modules with pip

    sudo pip install --upgrade pip

    New module is required for esp-idf

    sudo pip install pyclang

Run build on macOS

git clone https://github.com/twischi/esp32-arduino-lib-builder && cd esp32-arduino-lib-builder
./build.sh

You will be ask with start of build.sh, if you want to run with default Parameter >> Then this file is used.

Run build with save a log-file

git clone https://github.com/twischi/esp32-arduino-lib-builder && cd esp32-arduino-lib-builder
./myBuild_with_log.sh

Clone and open in VSCode

git clone https://github.com/twischi/esp32-arduino-lib-builder && cd esp32-arduino-lib-builder
code. 

See also the original documentation by espressif:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 24