OVMS3-idf/tools
Ivan Grokhotkov 9d15c1fd40 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-11-21 15:36:06 +01:00
..
ble nimble_test: Fix nimble example test CI 2019-09-13 08:18:43 +00: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-11-21 15:36:06 +01:00
cmake Merge branch 'feature/remove_gcc5_support' into 'master' 2019-11-21 09:08:41 +08:00
docker tools/docker: use correct branch and commit of IDF when building 2019-11-06 17:58:23 +01:00
esp_app_trace global: remove gcc 5.2 support 2019-11-20 11:17:27 +01: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-11-21 15:36:06 +01:00
idf_py_actions idf.py: Add --before flag to esptool.py call 2019-11-01 20:00:56 +01:00
kconfig Update kconfiglib to upstream version and replace mconf-idf 2019-10-29 10:40:04 +01:00
kconfig_new Generate source files for kconfiglib from the build system 2019-11-15 15:25:09 +00:00
ldgen Generate source files for kconfiglib from the build system 2019-11-15 15:25:09 +00:00
mass_mfg Add Chinese translation for README files in components and tools folders, including: 2019-09-06 20:18:19 +08:00
test_idf_monitor CI: Adjust the test parameters of IDF Monitor 2019-10-16 12:38:47 +02:00
test_idf_py idf.py: add support for subcommands hidden from help 2019-11-08 17:54:10 +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 for both ESP32 and ESP32s2 targets 2019-11-04 16:14:57 +07:00
tiny-test-fw Merge branch 'bugfix/tinyfw_local_test' into 'master' 2019-11-07 21:27:58 +08:00
unit-test-app Merge branch 'feature/use_cpu_time_for_tests' into 'master' 2019-11-20 08:33:27 +08:00
windows Remove accidentally merged and stale files 2019-11-12 11:43:36 +07:00
build_apps.py tools: add {find,build}_apps.py, scripts to build multiple apps 2019-11-21 15:36:06 +01:00
check_kconfigs.py Update kconfiglib to upstream version and replace mconf-idf 2019-10-29 10:40:04 +01:00
check_python_dependencies.py Fix Python requirement for setuptools 2019-11-04 16:18:37 +01: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-11-21 15:36:06 +01:00
format-minimal.sh docs: add style guide 2016-11-03 18:41:00 +08:00
format.sh Added basic C++ style guide 2019-10-09 12:25:48 +08:00
gen_esp_err_to_name.py tools: updated generator of error codes to names to ignore tcpip_adapter 2019-11-13 12:36:26 +01:00
idf.py Merge branch 'feature/idfpy_hidden_commands' into 'master' 2019-11-15 12:41:43 +08:00
idf_monitor.py idf_monitor: Autodetect port 2019-10-14 08:06:43 +02:00
idf_size.py idf_size: Support JSON output 2019-05-29 17:11:53 +10:00
idf_tools.py idf_tools.py: fix virtualenv issue for macOS with homebrew 2019-10-30 19:44:15 +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 ci: kconfig rules: Allow any file starting with KConfig.* to be sourced 2019-08-14 16:50:30 +10:00
toolchain_versions.mk Introduce esp-2019r2 toolchain for both ESP32 and ESP32s2 targets 2019-11-04 16:14:57 +07:00
tools.json Merge branch 'feature/windows_ccache_enable' into 'master' 2019-11-08 18:57:26 +08:00
tools_schema.json tools: add metadata file and idf_tools.py 2019-05-24 17:04:23 +08:00