OVMS3-idf/tools
Ivan Grokhotkov 5d03ae7428 tools: add {find,build}_apps.py, scripts to build multiple apps
This commit adds a pair of scripts, find_apps.py and build_apps.py.
These scripts are intended to be used in various CI jobs, building
multiple applications with different configurations and targets.

The first script, find_apps.py, is used to prepare the list of builds:
1. It finds apps for the given build system.
2. For each app, it finds configurations (sdkconfig files) which need
   to be built.
3. It filters out the apps and configurations which are not compatible
   with the given target.
4. It outputs the list of builds into stdout or a file. Currently the
   format is a list of lines, each line a JSON string. In the future,
   the tool can be updated to output YAML files.

The lists of builds can be concatenated and processed with standard
command line tools, like sed.

The second script, build_apps.py, executes the builds from the list.
It can execute a subset of builds based on --parallel-count and
--parallel-index arguments.

These two scripts are intended to replace build_examples_make,
build_examples_cmake, and the custom unit-test-app logic (in the
Makefile and idf_ext.py).

Closes IDF-641
2019-12-11 15:57:49 +11:00
..
ble NimBLE: Add optional mbedTLS support to NimBLE (backport) 2019-09-23 21:37:40 +08:00
catch move Catch framework header into tools directory 2017-04-17 11:01:18 +08:00
ci tools: add {find,build}_apps.py, scripts to build multiple apps 2019-12-11 15:57:49 +11:00
cmake build system: explicitly disable LTO plugin 2019-11-28 11:02:18 +01:00
docker tools/docker: use correct branch and commit of IDF when building 2019-11-12 09:57:15 +01:00
esp_app_trace build system: Use CMake-based build system as default when describing commands 2019-07-08 17:31:27 +10:00
esp_prov esp_prov : Minor refactoring in argument dependent logic 2019-07-04 15:02:07 +05:30
find_build_apps tools: add {find,build}_apps.py, scripts to build multiple apps 2019-12-11 15:57:49 +11:00
kconfig kconfig: Add -MP option so .d files include empty targets 2019-08-21 18:20:47 +10:00
kconfig_new Handle deprecated values in sdkconfig.defaults 2019-10-03 10:13:42 +02:00
ldgen Use kconfiglib from $IDF_PATH/tools/kconfig_new 2019-09-11 14:28:39 +02:00
mass_mfg mfg_util: Optimise by adding subparser changes w.r.t similar changes in nvs util changes 2019-07-05 01:13:27 +00:00
test_idf_monitor tools: Test IDF Monitor after it is ready to receive data 2019-02-25 10:35:09 +01:00
test_idf_size idf_size: Support JSON output 2019-05-29 17:11:53 +10:00
test_idf_tools Introduce esp-2019r2 toolchain 2019-11-04 16:21:56 +07:00
tiny-test-fw tiny-test-fw: support testing apps with flash encryption 2019-09-10 17:18:51 +02:00
unit-test-app esp_wifi: Put some rx code to iram and update phy4180 2019-11-18 02:54:46 +00:00
windows Introduce esp-2019r2 toolchain 2019-11-04 16:21:56 +07:00
build_apps.py tools: add {find,build}_apps.py, scripts to build multiple apps 2019-12-11 15:57:49 +11:00
check_kconfigs.py tools: Fix Kconfig checker for comments and source after help 2019-06-20 09:48:04 +02:00
check_python_dependencies.py tools/check_python_dependencies: make aware of IDF_TOOLS_PATH 2019-05-24 17:04:23 +08:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
elf_to_ld.sh misc adjustment of esp32 component 2019-04-03 19:57:46 +08:00
find_apps.py tools: add {find,build}_apps.py, scripts to build multiple apps 2019-12-11 15:57:49 +11:00
format-minimal.sh docs: add style guide 2016-11-03 18:41:00 +08:00
format.sh esp32: ReformatReformat panic.c (remove tabs, etc) 2016-12-07 13:25:56 -08:00
gen_esp_err_to_name.py tools/gen_esp_err_to_name.py: Don't include already included headers 2019-05-06 15:08:37 +02:00
idf.py Merge branch 'bugfix/idfpy_before_flash_option_v4.0' into 'release/v4.0' 2019-11-21 06:40:14 +08:00
idf_monitor.py idf_monitor: Exit with CTRL+X in menu 2019-10-09 10:27:50 +02:00
idf_size.py idf_size: Support JSON output 2019-05-29 17:11:53 +10:00
idf_tools.py tools: Don't use git work-tree in idf_tools.py 2019-11-26 08:56:34 +01:00
set-submodules-to-github.sh tools: Add a script for switching to real submodules in forks 2019-07-05 11:12:06 +07:00
test_check_kconfigs.py tools: Fix Kconfig checker for comments and source after help 2019-06-20 09:48:04 +02:00
toolchain_versions.mk Introduce esp-2019r2 toolchain 2019-11-04 16:21:56 +07:00
tools.json tools: export IDF_CCACHE_ENABLE on Windows by default 2019-11-12 09:54:57 +01:00
tools_schema.json tools: add metadata file and idf_tools.py 2019-05-24 17:04:23 +08:00