Skip to main content

Tools for building ESP-IDF related apps.

Project description

idf-build-apps

Documentation Status pypi_package_version supported_python_versions

idf-build-apps is a tool that helps users find and build ESP-IDF, and ESP8266 RTOS projects in a large scale.

What is an app?

A project using ESP-IDF SDK, or ESP8266 RTOS SDK typically contains:

  • Build recipe in CMake or Make and the main component with app sources
  • (Optional) One or more sdkconfig files

app is the abbreviation for application. An application is a set of binary files that is being built with the specified sdkconfig and the target chip. idf-build-apps could build one project into a number of applications according to the matrix of these two parameters.

Installation

pip install idf-build-apps

or pipx

pipx install idf-build-apps

Basic Usage

idf-build-apps is a python package that could be used as a library or a CLI tool.

As a CLI tool, it contains three sub-commands.

  • find to find the buildable applications
  • build to build the found applications
  • completions to activate autocompletions or print instructions for manual activation

For detailed explanation to all CLI options, you may run

idf-build-apps -h
idf-build-apps find -h
idf-build-apps build -h
idf-build-apps completions -h

As a library, you may check the API documentation for more information. Overall it provides

  • Two functions, find_apps and build_apps
  • Two classes, CMakeApp and MakeApp

Quick CLI Example

To build ESP-IDF hello world example project with ESP32:

idf-build-apps build -p $IDF_PATH/examples/get-started/hello_world/ --target esp32

The binary files will be generated under $IDF_PATH/examples/get-started/hello_world/build directory.

Documentation

For detailed information, please refer to our documentation site!

Contributing

Thanks for your contribution! Please refer to our Contributing Guide

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

idf_build_apps-2.5.0rc0.tar.gz (79.5 kB view details)

Uploaded Source

Built Distribution

idf_build_apps-2.5.0rc0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file idf_build_apps-2.5.0rc0.tar.gz.

File metadata

  • Download URL: idf_build_apps-2.5.0rc0.tar.gz
  • Upload date:
  • Size: 79.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for idf_build_apps-2.5.0rc0.tar.gz
Algorithm Hash digest
SHA256 8ce219d455e258463a659de999de272f9730bfb76be318dea773ef8539a46635
MD5 0b2d3118a0569fa2dfb9693505f7c270
BLAKE2b-256 6deba5c5b7aa4a99c0ced0d1b964e0aad46984fdeabe7e7b47abdab8ac65293e

See more details on using hashes here.

File details

Details for the file idf_build_apps-2.5.0rc0-py3-none-any.whl.

File metadata

File hashes

Hashes for idf_build_apps-2.5.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 770b539b69abb24bd4a9065e5711a236e592290e3defb25a63dba4ea49aead70
MD5 e5a4dd0a6278ddc48ae861c3e5af2c4d
BLAKE2b-256 2fa376741eaefdd658bcbfb564570f7c4e70dc4b6c68ca319436db9f6eab7fa2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page