Commit Graph

25 Commits

Author SHA1 Message Date
Shu Chen
2b9e8fed71 esp32h2: add esp32h2 build target
Add esp32h2 support in the following components:
 * Kconfig
 * components/esptool_py
 * components/riscv
 * components/xtensa
 * tools
2021-07-01 19:51:33 +08:00
Konstantin Kondrashov
f339b3fc96 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key()
These functions were used only for esp32 in secure_boot and flash encryption.
Use idf efuse APIs instead of efuse regs.
2021-06-17 07:21:36 +08:00
Fu Hanxi
0146f258d7 style: format python files with isort and double-quote-string-fixer 2021-01-26 10:49:01 +08:00
Marius Vikhammer
7fe16bae25 tools: merge C3 changes into master 2020-12-30 07:04:12 +08:00
Fu Hanxi
fcabbe5f33 Add Linux support for find_apps and build_apps 2020-12-14 18:57:54 +08:00
Fu Hanxi
636f136296 bugfix: drop make support for tests have no esp32 support 2020-12-08 14:54:30 +08:00
morris
9fa06719fa global: enable build uinit test for esp32-s3 2020-09-22 15:15:03 +08:00
Fu Hanxi
0d6f0e9bc3 remove dir with exclude file pattern 2020-09-04 16:07:44 +08:00
Michael (XIAO Xufeng)
ad6609a561 ci: build s2 template app in pre_build of pre_check stage
This will fail pipeline earlier if template project of S2 cannot pass
the build.

The other builds for the template app, which is not CMake or default
optimization level are put into the build_template_app of build stage.
2020-08-10 18:00:39 +08:00
Fu Hanxi
6885421976 CI: add size info for binaries 2020-07-21 16:00:05 +08:00
Fu Hanxi
4087152305 remove build_or_not attr. 2020-07-06 19:05:44 +08:00
Fu Hanxi
010d7e9023 apply to make build system 2020-07-06 19:05:44 +08:00
Fu Hanxi
2d57fd7fca update the build_apps.py, now it can recognize build and preserve keys 2020-07-06 19:05:44 +08:00
Fu Hanxi
ba12a549bb update the find_apps.py, now it will generate build and preserve keys 2020-07-06 19:05:44 +08:00
Fu Hanxi
b26d42afe3 Now scan_tests will generate 'scan_<target>.json`
also updated CI yaml and shell scripts
2020-07-06 19:05:44 +08:00
Ivan Grokhotkov
1aacb6e2cf tools: build_apps: fix make warning due to unused TEST_GROUPS variable
TEST_GROUPS can be included in the unit-test-app config file, to
restrict the list of tests to be executed. However this option is not
used at build time, so adding it as a CMake variable along with
TEST_COMPONENTS and other options results in a CMake warning.
Fix by not passing this variable to CMake, and not including it in the
final sdkconfig file.
2020-06-26 12:17:02 +02:00
Marius Vikhammer
c39b3730bf ci: fix find_build_apps.py failure with py3 due to non ascii chars
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-09 11:35:08 +08:00
Fu Hanxi
da9ca49093 fix after rebase 2020-05-22 19:08:02 +08:00
Fu Hanxi
961a8cf85e remove artifact config in ci. 2020-05-22 19:08:02 +08:00
Fu Hanxi
dc89e6df6e make supported in find_apps/build_apps 2020-05-22 19:08:02 +08:00
Fu Hanxi
01ff4f621f Add build_unit_test.sh to do find_apps and build_apps to unit_tests
modify unit-test-apps config files, use CONFIG_IDF_TARGET to set target.
if not set, then treat them as supported both targets.
2020-04-30 06:47:49 +00:00
Fu Hanxi
5b2fa1a5ad build_app: make multi target support readable 2020-04-09 16:40:57 +08:00
Angus Gratton
ff427c9650 ci: Support joining sdkconfig.ci files that don't end in a newline
If trailing newline is missing, the last line of that item gets merged
with the first line of the next item.
2020-04-01 17:17:30 +11:00
Ivan Grokhotkov
3053119f60 ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps 2020-03-20 14:50:00 +01:00
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