Commit Graph

401 Commits

Author SHA1 Message Date
Fu Hanxi
13547d44e0 ci: set build target test apps rules 2022-02-23 09:03:36 +08:00
Tomas Sebestik
fce2929083 Add merged target-test-env image 2022-02-15 07:51:38 +01:00
Roland Dobai
9027c30237 Merge branch 'feat/python_reqs_directory' into 'master'
Tools: Make easier the detection of the list of Python features

See merge request espressif/esp-idf!17009
2022-02-14 16:06:36 +00:00
morris
dbfde65515 lcd: refactor ut into test app 2022-02-14 18:43:50 +08:00
Roland Dobai
51bfd280f8 Merge branch 'update/drop_python36' into 'master'
Drop Python 3.6

See merge request espressif/esp-idf!16676
2022-02-10 13:09:42 +00:00
Tomas Sebestik
fb12d03dc3 Drop Python 3.6 2022-02-10 07:20:52 +01:00
Chen Yudong
de7e67ccec CI: add expire_in and timeout for jobs
add timeout 4 hours and retry for deploy_test_result
add missing expire_in for artifacts
add timeout 1 hour for tartget test jobs
add retry when job_execution_timeout
2022-02-09 22:06:37 +08:00
Fu Hanxi
72e8bf159c ci: fix missing rules for job build_non_test_components_app 2022-02-09 18:45:33 +08:00
Anton Maklakov
db9c5507f2 Merge branch 'ci/remove_pytest_dir_non_test_apps' into 'master'
ci: build_pytest_app will now remove the non-test apps

Closes IDFCI-1075

See merge request espressif/esp-idf!16984
2022-02-09 03:29:32 +00:00
Fu Hanxi
e761153cff ci: adjust parallel count based on build item count 2022-02-07 10:55:54 +08:00
Fu Hanxi
30f098cd49 ci: add build_non_test_component_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
b91f8fb4eb ci: skip building pytest apps in normal find_apps build_apps 2022-02-07 10:55:54 +08:00
Fu Hanxi
153433d47d ci: build_pytest_app will now remove the non-test apps
simplify the cli as well
2022-02-07 10:55:54 +08:00
Lu Ai Jun
e599db6d04 Revert "Merge branch 'bugfix/temp_disable_f8r8_test' into 'master'"
This reverts merge request !17007
2022-02-07 10:18:08 +08:00
Roland Dobai
fddc73759e Tools: Make easier the detection of the list of Python features 2022-02-03 19:02:14 +01:00
Ivan Grokhotkov
1431821f9c Merge branch 'feat/component_test_app_owners' into 'master'
CI: Set proper code owners for component test apps

See merge request espressif/esp-idf!16972
2022-02-03 10:54:21 +00:00
Ivan Grokhotkov
2838886639 ci: temporarily disable MSPI_F8R8 test 2022-02-01 15:39:40 +01:00
Roland Dobai
29a9494181 CI: Set proper code owners for component test apps 2022-01-27 16:15:33 +01:00
David Cermak
9de81ed2e2 ci/mqtt: Fix weekend test publish-connect on target
* Fix thread safe issue in paho-mqtt library
* Move the weekend test to ethernet runner
2022-01-27 13:37:47 +01:00
Song Ruo Jing
3821a09f83 Merge branch 'bugfix/ledc_consecutive_fade' into 'master'
ledc: Bugfixes for issues related to fade protection on ESP32

Closes IDFGH-4918 and IDFGH-5565

See merge request espressif/esp-idf!14568
2022-01-26 06:00:59 +00:00
Jiang Jiang Jian
3fa37be643 Merge branch 'ci/split_assign_test_and_add_c3_integration_test' into 'master'
ci: split assign test and add esp32c3 integration tests

See merge request espressif/esp-idf!16664
2022-01-25 13:06:06 +00:00
Ivan Grokhotkov
0ebf93c01e Merge branch 'bugfix/linux_taret_fixes' into 'master'
linux target: various minor fixes

See merge request espressif/esp-idf!16905
2022-01-25 08:43:38 +00:00
songruojing
f5cbe89487 ci: increase target-test.yml UT_T1_1 job to support newly added LEDC fade ut tests 2022-01-25 14:32:31 +08:00
Chen Yudong
7d888f3669 ci: exclude git files when uploading artifacts 2022-01-25 11:49:55 +08:00
Chen Yudong
11d4542165 ci: update intergration test to support esp32c3 2022-01-25 11:49:55 +08:00
Chen Yudong
ec4175b127 ci: optimize downloading build_ssc artifacts 2022-01-25 11:49:55 +08:00
Chen Yudong
dd4f27801f ci: move integration test related files outside of components 2022-01-25 11:49:55 +08:00
Chen Yudong
d5f7824ae9 ci: fix target_test label usage 2022-01-25 11:49:55 +08:00
Chen Yudong
151d8cdcd2 ci: split assign tests 2022-01-25 11:49:53 +08:00
Ivan Grokhotkov
3f6448b82c gitlab: add linux component to CODEOWNERS 2022-01-24 19:02:51 +01:00
Fu Hanxi
a801555299 ci: replace all component ut with pytest-embedded 2022-01-24 16:37:23 +08:00
Fu Hanxi
0646b8953c ci: rename build_examples_pytest to build_pytest_examples 2022-01-24 16:37:23 +08:00
Armando (Dou Yiwen)
7967a317d6 Merge branch 'feature/add_flash_suspend_example' into 'master'
system: add an example showing how to run non-iram ISR when operating Flash

Closes IDF-4501

See merge request espressif/esp-idf!16658
2022-01-24 07:40:00 +00:00
Armando
a36e5188e9 system: add an example showing how to run non-iram ISR when operating Flash 2022-01-21 15:20:37 +08:00
morris
b7f24e9903 Merge branch 'feature/docs_rename_esp8684' into 'master'
docs: update esp-docs, rename esp8684 to esp32c2

Closes IDF-4551

See merge request espressif/esp-idf!16871
2022-01-21 05:06:40 +00:00
Marius Vikhammer
f018d3f2f0 docs: update esp-docs, rename esp8684 to esp32c2 2022-01-21 09:26:35 +08:00
Ivan Grokhotkov
184aac5838 Merge branch 'ci/pytest_codeowner' into 'master'
CODEOWNER: add pytest related root dir files

See merge request espressif/esp-idf!16868
2022-01-20 07:47:58 +00:00
Fu Hanxi
44a9550743 CODEOWNER: add pytest related root dir files 2022-01-20 14:12:44 +08:00
Chen Yudong
2c8fb44b09 CI: do not install idf python env for integration test 2022-01-20 11:59:32 +08:00
David Čermák
1c94345737 Merge branch 'bugfix/protocols_test_on_eth' into 'master'
ci/mqtt: Move protocol tests to eth runners

Closes IDFCI-653

See merge request espressif/esp-idf!16752
2022-01-19 14:44:00 +00:00
laokaiyao
cf049e15ed esp8684: rename target to esp32c2 2022-01-19 11:08:57 +08:00
Roland Dobai
b28d7e6850 Tools: Improve the Python package system
Introduce features into the Python package management system & manage
package versions outside of ESP-IDF repo.
2022-01-17 16:54:36 +01:00
Mahavir Jain
7b87ea2a15 Merge branch 'feature/expat_to_component_manager' into 'master'
Push out `expat` to idf-extra-components repository

Closes IDF-4546

See merge request espressif/esp-idf!16785
2022-01-16 05:49:36 +00:00
David Cermak
bc3a202fe3 ci: Increase parallel job count for Eth runners 2022-01-14 14:35:06 +01:00
Shu Chen
87b026779b Merge branch 'ci/esp32h2_ci_example_build' into 'master'
CI: Enable ESP32H2 example build test on CI (Zigbee&Thread test)

See merge request espressif/esp-idf!16736
2022-01-14 04:44:14 +00:00
Cao Sen Miao
e7adb84409 ci: enable esp32h2 example build test on ci 2022-01-14 10:43:29 +08:00
Armando
9cf4126656 psram: add a ut for putting flash.text and rodata in psram 2022-01-13 11:07:57 +08:00
Mahavir Jain
b08323c903 Push out expat to idf-extra-components repository
This component will be used through IDF component manager.
2022-01-12 10:13:23 +05:30
Mahavir Jain
fba8582da4 Merge branch 'feature/nghttp_sh2lib_component_manager' into 'master'
Push out nghttp and sh2lib to IDF component manager

Closes IDF-4529

See merge request espressif/esp-idf!16618
2022-01-11 13:45:59 +00:00
Mahavir Jain
5db7ab0710 Add entry for http_parser in CODEOWNERS and sonar exclusion list 2022-01-11 10:26:25 +05:30
Mahavir Jain
517862de9e Remove references to nghttp from CI, docs and other places 2022-01-11 10:26:25 +05:30
Mahavir Jain
a67d7b7d5b nghttp: Remove component and move to idf-extra-components repository
This component will now be used through ESP-IDF component manager
2022-01-11 10:26:25 +05:30
Zim Kalinowski
0ce3249cce Merge branch 'bugfix/github_jira_sync_races' into 'master'
ci: limit github-jira sync actions to a single concurrent run

See merge request espressif/esp-idf!16699
2022-01-10 13:35:27 +00:00
Fu Hanxi
60c5b37bfe Merge branch 'refactor/ldgen' into 'master'
refactor: ldgen

Closes IDF-605 and IDFGH-6271

See merge request espressif/esp-idf!16509
2022-01-10 09:15:44 +00:00
Fu Hanxi
ab953ad238 ci: fix redundant key variables under .deploy_docs_template 2022-01-10 09:37:11 +08:00
Fu Hanxi
e47cf37c79 ci: move check_submodule_sync to test_deploy stage 2022-01-10 09:37:11 +08:00
Fu Hanxi
b17a531841 ci: add EXAMPLE_WIFI_OTA job to run nightly run cases 2022-01-10 09:37:11 +08:00
Ivan Grokhotkov
fbdd87287c gitlab: add Github workflows to ci approvals group 2022-01-07 14:20:46 +01:00
Fu Hanxi
73c5644044 ci: update dockerfile to 5.0 2022-01-07 16:18:32 +08:00
Fu Hanxi
172854a850 refactor: rewrite ldgen fragment file parser
closes https://github.com/espressif/esp-idf/issues/7940
2022-01-07 16:18:32 +08:00
morris
3b371d2d64 ci: check unstable soc headers wont be leaked by public api 2022-01-06 21:43:12 +08:00
Jiang Jiang Jian
477cf09f45 Merge branch 'bugfix/ci_check_blobs' into 'master'
ci: improve checks for Wi-Fi/PHY libraries

See merge request espressif/esp-idf!16625
2022-01-05 09:26:42 +00:00
Marius Vikhammer
dd341318d0 CI: update docs codeowners 2022-01-05 10:46:07 +08:00
Michael (XIAO Xufeng)
9d0bebc773 code_owners: add peripherals to the owner of bootloader_flash 2022-01-04 03:23:31 +00:00
Ivan Grokhotkov
3049ac6dbb ci: improve checks for Wi-Fi/PHYlibraries
- add missing Wi-Fi header MD5 checks for esp32c3, esp32s3
- check PHY libraries for references to ets_printf, in addition to
  checking Wi-Fi libraries. This used to happen until libphy.a was
  moved into a separate submodule.

Reported in https://github.com/espressif/esp-phy-lib/issues/3
2022-01-04 00:30:55 +01:00
Fu Hanxi
07ada54d20 Merge branch 'bugfix/pre-commit-windows-support' into 'master'
pre-commit: use pathlib to do glob pattern match

Closes IDF-4390

See merge request espressif/esp-idf!16547
2021-12-30 04:11:36 +00:00
Chen Yu Dong
e8cfba0745 Merge branch 'bugfix/set_authmode_by_switching_number_to_string' into 'master'
CI: change ap authmode from number to string

Closes IDFCI-1019

See merge request espressif/esp-idf!16552
2021-12-29 04:27:37 +00:00
huchaoru
675a9f95fc CI: change ap authmode from number to string 2021-12-27 19:55:56 +08:00
Fu Hanxi
70df376692 fix(ci): exclude patterns python files while checking tools pattern 2021-12-27 16:35:55 +08:00
Zim Kalinowski
f6cedb0533 Merge branch 'bugfix/codeowners_riscv' into 'master'
gitlab: set code owners for riscv component

See merge request espressif/esp-idf!16515
2021-12-23 02:35:25 +00:00
Ivan Grokhotkov
2482b07aec gitlab: set code owners for riscv component 2021-12-22 16:58:12 +01:00
Ivan Grokhotkov
ef5bc71372 ci: enable ccache for build jobs 2021-12-22 00:58:49 +01:00
Jakob Hasse
cee13df930 Merge branch 'feature/minimal_template_subsections' into 'master'
gitlab: make "Related" subsection visible in the minimal template

See merge request espressif/esp-idf!16085
2021-12-21 09:46:52 +00:00
Michael (XIAO Xufeng)
5999e2c6f8 gitlab: make "Related" subsection visible in the minimal template 2021-12-21 09:46:51 +00:00
Marius Vikhammer
c2d00810a6 Merge branch 'feature/esp8684_doc_build' into 'master'
docs: update docs to be able to build with esp8684

Closes IDF-4313

See merge request espressif/esp-idf!15849
2021-12-20 03:32:28 +00:00
Marius Vikhammer
82325f6037 docs: update docs to be able to build with esp8684 2021-12-20 10:32:49 +08:00
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