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
Ivan Grokhotkov
68ad6ad63a
tools/docker: use correct branch and commit of IDF when building
2019-11-12 09:57:15 +01:00
Ivan Grokhotkov
019c72e4fc
tools: update Windows installer build script
...
Replace the outdated build_installer.sh with the steps used in CI,
call build_installer.sh from CI. Move the signing part into the new
script, sign_installer.sh.
2019-10-18 11:10:41 +02:00
Roland Dobai
dedaf624db
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-03 10:13:42 +02:00
Ivan Grokhotkov
dd443f61e8
tools: add Dockerfile
2019-07-18 06:18:04 +00:00
Michael (XIAO Xufeng)
181fd70a9a
ci: multichip build support for examples
2019-07-05 17:06:25 +08:00
Anton Maklakov
c9cf0afb6e
tools: Add a script for switching to real submodules in forks
2019-07-05 11:12:06 +07:00
Ivan Grokhotkov
12b6da0388
tools: {install,export}.{bat,sh} tools
2019-07-01 14:51:44 +02:00
Anton Maklakov
e5de1991d4
tools: Keep script behaviour
2019-06-28 10:05:31 +07:00
Anton Maklakov
008ad9af47
ci: Use relative submodule URLs over IDF. Correct CI accordindly
...
Clean up `before_script`s
Update `check_submodule_sync`
Remove tools/ci/mirror* stuff
2019-06-25 22:24:45 +07:00
Anton Maklakov
a98141cc0a
ci: keep executables list sorted to pass tests
2019-06-13 12:42:53 +07:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Angus Gratton
eac356ef4a
Merge branch 'feature/idf_version_header' into 'master'
...
esp_common: add esp_idf_version.h header to define IDF version
Closes IDF-253
See merge request idf/esp-idf!4596
2019-06-13 09:41:35 +08:00
Renz Christian Bagaporo
7f7a9272f0
examples: create example for both Python and CLI otatool interfaces
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
5d41322412
examples: create example for both Python and CLI parttool interfaces
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
63bd57c1d7
partition_table: implement Python API for parttool
...
Closes https://github.com/espressif/esp-idf/issues/1494
2019-06-11 13:17:14 +08:00
Ivan Grokhotkov
8f7e01baed
tools: add metadata file and idf_tools.py
2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
74247ed7f5
ci: keep executables list formatted
2019-05-24 17:04:23 +08:00
Ivan Grokhotkov
6ca07eca68
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/2482
Closes IDF-253
2019-05-20 13:14:56 +08:00
Renz Christian Bagaporo
477fa49fc0
examples: update idf_as_lib example to use new api
2019-05-14 18:01:14 +08:00
morris
f5b03c9ea3
misc adjustment of esp32 component
2019-04-03 19:57:46 +08:00
Alexey Gerenkov
3914f17d26
apptrace: Adds test for logtrace_proc script
2019-04-01 19:31:45 +03:00
Alexey Gerenkov
8c6a924cdf
sys_view: Adds processing scripts for heap & log traces
2019-04-01 19:31:45 +03:00
Renz Christian Bagaporo
8ba10bf3dc
spiffs: Implement spiffs image generation
2019-03-25 12:51:52 +08:00
Konstantin Kondrashov
91676b8620
build_system: Add support efuse
2019-02-28 07:31:29 +00:00
Renz Christian Bagaporo
24284b3afd
ldgen: remove resolution of template includes
2019-02-22 08:25:56 +08:00
Renz Christian Bagaporo
022a1da4e9
ldgen: create python script to find linker script includes
2019-02-14 18:58:48 +08:00
Roland Dobai
00eefe0ef3
Check & correct Kconfig files
2019-01-11 13:05:55 +01:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
Renz Christian Bagaporo
f1f0bd4b1c
ci: update for running cmake examples
2018-11-27 19:56:52 +08:00
Renz Bagaporo
63411fc556
tools: implement linker script generation
2018-11-16 12:42:02 +08:00
Renz Bagaporo
cc774111bf
cmake: Add support for test build
2018-10-20 12:07:24 +08:00
Roland Dobai
173e6aab3e
tools: Make kconfig_new Python3-compatible and enable Python3 in idf.py
2018-09-19 08:38:09 +02:00
Roland Dobai
b9e1869538
espcoredump: Add tests and Python3 support
2018-09-11 08:53:06 +02:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Roland Dobai
9538059f84
CI: Simplify running commands with several versions of Python
2018-09-06 11:50:17 +02:00
Angus Gratton
b1380707e4
Merge branch 'bugfix/ci_github_deploy' into 'master'
...
ci: Fix spurious pipeline failure when deploying a tag to GitHub
See merge request idf/esp-idf!3021
2018-09-05 18:07:24 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Roland Dobai
7cfef29eb8
Docs: Check Python packages
2018-08-30 13:20:42 +02:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Roland Dobai
5cdff46370
tools: Support Python 3 in idf_size.py
2018-08-27 13:39:07 +02:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Angus Gratton
7b4626f824
ci: Fix spurious pipeline failure when deploying a tag to GitHub
...
Everything succeeds, but because [ -z ${CI_COMMIT_TAG} ] on the last line returns non-zero, it
fails the job.
2018-08-22 13:11:18 +10:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Angus Gratton
50e7b116c1
docs: Add gen-version-specific-includes.py to executables list
2018-08-13 13:37:23 +10:00
Roland Dobai
40486c8723
tools: Allow running unit tests from command line
...
Add argument parsing to unit_test.py to allow running unit tests from
command line.
2018-07-30 13:05:41 +02:00