Ivan Grokhotkov
09e50b27ed
cmake: handling of space-separated EXTRA_COMPONENT_DIRS
...
COMPONENT_DIRS and EXTRA_COMPONENT_DIRS should be defined as CMake
lists, using 'set' or 'list' commands. Some applications written
for earlier versions of ESP-IDF used to define these variables as
space separated strings.
For example, the following is correct:
set(EXTRA_COMPONENT_DIRS path/to/components path/to/more/components)
The following is not correct:
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component1")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component2")
The string "component1 component2" may indicate a single directory
name with a space, or two directory names separated by space.
However due to the fact that such way of defining EXTRA_COMPONENT_DIRS
was supported in IDF 4.3 and earlier, we need to provide backward
compatibility for it.
This commit introduces a new script, split_paths_by_spaces.py, which
is invoked if EXTRA_COMPONENT_DIRS or COMPONENT_DIRS variable contains
spaces. The script tries to determine if each space should be
interpreted as a separator or as part of the directory name.
When this cannot be done unambiguously, the script reports an error.
In all cases when space separators are detected, the script reports
a warning, and prints instructions for fixing the CMakeLists.txt.
Breaking change in this commit: specifying non-existent directories
in COMPONENT_DIRS or EXTRA_COMPONENT_DIRS is no longer allowed.
2021-12-14 19:17:53 +01:00
Cao Sen Miao
4a32253306
Add codeowner on gitlab for /esp8684
2021-12-13 19:18:47 +08:00
Cao Sen Miao
e81841318f
CI: Enable ESP8684 build stage CI on master
2021-12-13 19:18:47 +08:00
Ivan Grokhotkov
f812714ec4
Merge branch 'bugfix/idf_exe_dll_deps' into 'master'
...
tools: fix idf_exe dependency on vcruntime140.dll, move it out of IDF
Closes IDF-4410
See merge request espressif/esp-idf!16301
2021-12-09 12:29:55 +00:00
Ivan Grokhotkov
c358aceb1b
Merge branch 'feature/soc_caps_build_sys' into 'master'
...
build-system: parse soc caps and integrate into kconfig
Closes IDF-2223
See merge request espressif/esp-idf!15305
2021-12-09 06:54:08 +00:00
Marius Vikhammer
97e05c6f8b
crypto: also apply cache writeback/invalidate for SPIRAM_USE_MEMMAP
...
Closes https://github.com/espressif/esp-idf/issues/7944
2021-12-08 12:09:01 +08:00
Ivan Grokhotkov
0061ad19c2
tools: move idf_exe out of IDF
...
Source code moved into https://github.com/espressif/idf_py_exe_tool ,
so that releases can be built in CI and hosted on Github.
2021-12-08 02:12:57 +01:00
Marius Vikhammer
c6d60615c6
build-system: include soc_caps defines into kconfig
...
Adds gen_soc_caps_kconfig.py which parses the soc caps (soc_caps.h) into
a format that can be included in kconfig.
2021-12-06 12:37:07 +08:00
Jan Brudný
228113a399
tools: make copyright check configurable
2021-12-03 10:29:35 +01:00
Island
71c66abcb7
Merge branch 'ci/upload_build_example_for_release_test' into 'master'
...
ci: preserve artifacts for local test apps
See merge request espressif/esp-idf!15990
2021-12-02 11:25:44 +00:00
Fu Hanxi
61942a9f9f
fix(pytest): use "--target" to filter the test cases
...
"-m" can't be specified for multiple times. pytest is using "and", "or",
"not" and parentheses to filter by markers
2021-12-02 10:55:24 +08:00
Fu Hanxi
5c3bc247cb
test: use pytest for examples/custom_bootloader
2021-12-02 10:55:24 +08:00
Roland Dobai
f4d1bb017a
Merge branch 'feature/add-wl-support-fatfs' into 'master'
...
Add wear levelling support for fatfs partition generator
Closes IDF-4043 and IDF-2053
See merge request espressif/esp-idf!15798
2021-12-01 14:21:39 +00:00
Chen Yudong
2db60f13fb
ci: add test dir examples/bluetooth/hci/controller_hci_uart_esp32
2021-12-01 12:06:52 +08:00
Tomas Rezucha
ebaca79557
other: Move cbor, jsmn and libsodium to idf-component-manager
...
Marginal components are being carved out from esp-idf and moved to
https://github.com/espressif/idf-extra-components .
They are distributed via idf-component-manager, see
https://components.espressif.com .
2021-11-30 21:44:48 +01:00
Chen Yudong
e4a86f203f
ci: preserve artifacts for local test apps
2021-11-30 17:39:00 +08:00
Fu Hanxi
94578f4658
ci: add pytest-embedded CI jobs
2021-11-30 09:42:12 +08:00
Martin Gano
7460deeae8
support for wear levelling in fatfs partition generator
...
Closes https://github.com/espressif/esp-idf/issues/5785
2021-11-29 16:57:47 +01:00
Shu Chen
87d19d7ef9
Merge branch 'feature/Add_zigbee_light_example' into 'master'
...
zigbee: add light example
See merge request espressif/esp-idf!15458
2021-11-25 02:14:53 +00:00
Ivan Grokhotkov
78d83645b8
ci: use LOCAL_GIT_MIRROR in docker build job, if set
...
When the build runner has a local git mirror configured via
LOCAL_GIT_MIRROR variable, use that mirror when cloning IDF insider
the docker build job. Follows similar logic for
LOCAL_GITLAB_HTTPS_HOST, which is used for geo nodes.
2021-11-24 10:20:11 +01:00
Shubham Kulkarni
afa0a68c31
target-test.yml: Add EXAMPLE_ETH_OTA runner to OTA on ethernet based runners
2021-11-19 15:07:31 +05:30
likunqiao
a9146920b9
Zigbee: Add light example
...
* provide light example for acting as zigbee coordinator, router and end-device
* remove unused componenent for example usage
* remove unused variable
* clean up unused header include for example
* update the license header
* update copyright
* Add readme for instruction adding esp-zboss-lib component
* esp-idf:update copy_right_check ignore file
* CI: fix the ci check error from pipeline
* sdkconfig: default set change for better user use
* use Button (BOOT) as switch input
* update the statemachine for debouncing
* esp-zboss-lib: support lib 0.0.2
* fix warning issue from example
2021-11-11 19:03:01 +08:00
Fu Hanxi
5dffcb867b
ci: remove `/components/esp_ipc` from CODEOWNER file
2021-11-11 16:58:49 +08:00
Fu Hanxi
cb6500183e
ci: remove `/make/` from CODEOWNER file
2021-11-11 15:24:50 +08:00
Ivan Grokhotkov
ddde1c0f08
Merge branch 'ci/components_dir_files_changes_trigger_ut' into 'master'
...
ci: components dir files changes trigger ut
Closes IDFCI-918
See merge request espressif/esp-idf!15585
2021-11-04 22:08:02 +00:00
Ivan Grokhotkov
0b376251df
Merge branch 'feature/kconfig_for_reproducible_build' into 'master'
...
Feature: kconfig for reproducible build
See merge request espressif/esp-idf!15100
2021-11-04 22:07:29 +00:00
Martin Gano
3c4034d36e
support for generating FATFS on a host
2021-11-03 13:06:11 +01:00
Jakob Hasse
7df16fdf8f
Merge branch 'feature/i2c_mock' into 'master'
...
feat (driver): Added mocking for i2c.h
See merge request espressif/esp-idf!15641
2021-11-03 05:49:04 +00:00
Roland Dobai
e89fc00e5b
CI: Don't build with "make" because the support is removed in v5.0
2021-11-02 13:13:31 +01:00
Jakob Hasse
1eb96cfc79
feat (driver)!: Added mocking for i2c.h
...
BREAKING CHANGE: removed ringbuf.h from public i2c.h
2021-11-02 14:16:31 +08:00
Roland Dobai
93faf8fb95
CI: Make the maintainers to be the owners of the copyright header ignore list
2021-11-01 14:08:07 +01:00
Jakob Hasse
c81f8b7e17
feat (ci): Added minimal MR template
2021-11-01 12:47:10 +08:00
Chen Yu Dong
f58e2a396a
Merge branch 'ci/add_esp32s3_ssc_build_jobs' into 'master'
...
CI: add esp32s3 SSC build jobs
See merge request espressif/esp-idf!15587
2021-10-29 03:11:08 +00:00
Anton Maklakov
5be0dfbb7a
ci: fix using HEAD and SHA with merged result pipelines
2021-10-28 13:39:26 +07:00
Anton Maklakov
b8790cfc85
Revert "ci: fix build_docker for merge result pipelines"
...
This reverts commit f3bb09e46c
.
2021-10-28 13:20:43 +07:00
Anton Maklakov
c78900cd86
Merge branch 'feature/ci_runner_failure_retries' into 'master'
...
ci: runner system failure retries
See merge request espressif/esp-idf!15656
2021-10-28 04:58:32 +00:00
Anton Maklakov
f6fc7269a1
ci: decrease the mistaken big parallel count
2021-10-28 10:23:21 +07:00
Fu Hanxi
f3bb09e46c
ci: fix build_docker for merge result pipelines
2021-10-28 11:17:59 +08:00
Ivan Grokhotkov
1561fbd2c5
Merge branch 'ci/minimum_pipeline_for_revert_branch' into 'master'
...
ci: minimum pipeline for 'revert-' branches
Closes IDFCI-920
See merge request espressif/esp-idf!15592
2021-10-26 12:14:30 +00:00
Anton Maklakov
e525964f67
Merge branch 'bugfix/gdbstub_4_c3' into 'master'
...
Add missing function for C3
See merge request espressif/esp-idf!15538
2021-10-26 10:16:38 +00:00
Fu Hanxi
4cc18e9582
ci: minimum pipeline for 'revert-' branches
2021-10-26 17:55:58 +08:00
Jakob Hasse
04dc51732b
Merge branch 'feature/spi_cxx' into 'master'
...
[cxx]: simple spi master class
Closes IDF-3750
See merge request espressif/esp-idf!13363
2021-10-26 02:44:35 +00:00
Fu Hanxi
9919b75ec1
build: add CONFIG_APP_REPRODUCIBLE_BUILD menuconfig option to produce reproducible binaries
2021-10-26 10:43:15 +08:00
Dmitry
1457c42f6f
bugfix/esp-gdbstrub: add missing function for esp32c3/esp32h2.
2021-10-25 10:30:50 +03:00
Jakob Hasse
7efb01846f
[cxx]: simple spi master class
...
* spi cxx unit test (CATCH-based, on host)
* added portmacro.h to driver mocking
* added simple testing app to write/read SPI,
using an MPU9250
2021-10-25 14:56:59 +08:00
Fu Hanxi
9d2667d657
ci: run example test for c3 as well
2021-10-22 15:19:19 +08:00
Fu Hanxi
f312a1f128
ci: enable ut when components/ files changed
2021-10-21 15:39:04 +08:00
He Yin Ling
e5548b12e0
CI: add esp32s3 SSC build jobs
2021-10-21 11:23:24 +08:00
Anton Maklakov
1d3a47e10a
coredump: update test data for toolchain 2021r2
2021-10-20 22:00:39 +07:00
Mahavir Jain
0b67fe1e65
ci: increase ESP32-S3 UT job count
2021-10-20 15:20:08 +05:30