Commit Graph

504 Commits

Author SHA1 Message Date
Fu Hanxi
38345d9cd8 Merge branch 'ci/improve_build_scripts_for_multi_targets' into 'master'
CI: improve build scripts for multi targets

See merge request espressif/esp-idf!17895
2022-05-16 11:18:11 +08:00
Harshit Malpani
1c0987814b target-test.yml: Add job for wifi runner 2022-05-13 04:41:00 +00:00
Fu Hanxi
52b5a8348e test: add pytest_wifi_getting_started script 2022-05-13 11:56:59 +08:00
Armando
ed1e4c854e ci: support distribute ut based on psram type 2022-05-13 10:49:02 +08:00
Nachiket Kukade
2f4ec4e27d Merge branch 'bugfix/sap_mode_change_crash_issue' into 'master'
Fixes for SAP mode change and PMF issues

Closes WIFI-4322, WIFI-4394, and IDFCI-1147

See merge request espressif/esp-idf!17865
2022-05-12 19:08:05 +08:00
morris
47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
Fu Hanxi
27a8fdcf3c ci: trigger s3 target test only by label
should be revert after we got enough s3 runners
2022-05-11 16:03:29 +08:00
Nachiket Kukade
6a0d972cb2 CI: Reverse allowing failure of IT_012 2022-05-09 16:16:10 +05:30
Sudeep Mohanty
3ea1c8bf96 freertos: add freertos unit test to verify yielding behavior of the kernel
This commit adds a unit test to verify the task yielding behavior of the
FreeRTOS SMP kernel.
2022-05-09 03:48:07 +00:00
morris
977a2830dd example: update ir nec example with new rmt driver 2022-05-07 10:34:50 +00:00
Marius Vikhammer
948df77e85 CI: add docs_full label info to readme 2022-05-07 15:21:54 +08:00
Marius Vikhammer
5aa01cb80e docs: update linkcheck configs
linkcheck CI job can now pass, no longer necessary to ignore the results from it.
2022-05-07 13:09:41 +08:00
Fu Hanxi
62800f8e3b Merge branch 'ci/change_back_s3_tag' into 'master'
Revert "ci: rename all the generic s3 tag to generic_s3_fixme"

See merge request espressif/esp-idf!17803
2022-05-05 14:57:38 +08:00
Ivan Grokhotkov
130bbf3d6c
ci: add build job to test paths with spaces 2022-05-02 19:05:48 +02:00
Chen Yudong
1f9a754cee CI: do not fetch submodules in target tests 2022-04-28 18:36:58 +08:00
Fu Hanxi
dd9b9945b6 Merge branch 'ci/fix_IT_missing_esptool' into 'master'
ci: fix missing esptool for integration tests

Closes IDFCI-1213

See merge request espressif/esp-idf!17928
2022-04-28 06:48:05 +08:00
Fu Hanxi
c82adde67d ci: fix missing esptool for integration tests 2022-04-27 20:43:05 +08:00
Ivan Grokhotkov
871375cae3 Merge branch 'bugfix/bootloader_support_public_req' into 'master'
esp_hw_support: remove public dependency on bootloader_support

See merge request espressif/esp-idf!17792
2022-04-27 17:04:07 +08:00
Fu Hanxi
877e98ae4b Revert "ci: rename all the generic s3 tag to generic_s3_fixme"
This reverts commit 9bb9b58b3b.
2022-04-27 04:00:17 +00:00
morris
ab6bfcfd4b Merge branch 'feature/esp_docs_1.0.0' into 'master'
docs: update esp-docs to 1.0.0

See merge request espressif/esp-idf!17845
2022-04-26 19:03:59 +08:00
Marius Vikhammer
2c24b8e82c CI: update esp-idf-doc-env docker image version 2022-04-26 13:32:39 +08:00
Roland Dobai
5f017e5390 Merge branch 'feature/esptool_package' into 'master'
esptool: Include esptool as a Python package instead of using it as a submodule

Closes IDF-4785

See merge request espressif/esp-idf!17639
2022-04-25 16:17:56 +08:00
radim.karnis
2bb7dc4471 esptool: Include as a package, delete submodule 2022-04-22 21:31:17 +02:00
Aditya Patwardhan
600272bc5d flash_encryption_example: Update example test to use pytest framework 2022-04-21 13:26:57 +05:30
Ivan Grokhotkov
85cb079838
esp_hw_support: remove public dependency on bootloader_support
In c4bcf111, soc_memory_types.h header was moved from soc to
esp_hw_support. Since some of the functions are also used in
bootloader and because esp_hw_support is not part of the bootloader
build, part of the functions were moved into bootloader_support.
To make these functions available to the app, bootloader_support was
added as a public dependency of esp_hw_support.

Since esp_hw_support is in common requirements list, this has added
bootloader_support as a public requirement to every component in the
build. Adding new public requirements outside of common components
is undesirable, since components may accidentally include headers
from bootloader_support without explicitly declaring it as a
requirement.

This commit reverts this addition. Until a better solution is found,
some part of esp_memory_utils.h is duplicated into
bootloader_memory_utils.h. A CI check is added to make sure these
files stay in sync.
2022-04-16 10:50:12 +02:00
Ondrej Kosta
fcdb0306d0 examples: added ESP-NETIF L2 TAP example 2022-04-12 12:33:57 +00:00
Fu Hanxi
f35197e40b Merge branch 'ci/use_idf_path_as_pytest_logdir' into 'master'
ci: use IDF_PATH as pytest log dir

Closes IDFCI-1152

See merge request espressif/esp-idf!17673
2022-04-07 14:24:07 +08:00
Fu Hanxi
5e05a1f174 ci: use IDF_PATH as pytest log dir 2022-04-06 18:46:49 +08:00
Chen Yudong
e7f2e8e788 CI: temporary allow failure for IT_012 2022-04-06 17:29:00 +08:00
morris
e8aef07502 Merge branch 'ci/lan8720_only_on_protected_and_label' into 'master'
ci: run component_ut_esp32_lan8720 only on master/release or with label

See merge request espressif/esp-idf!17644
2022-03-30 23:43:01 +08:00
Fu Hanxi
81e7fa86cd ci: run component_ut_esp32_lan8720 only on master/release or with label
this is a temporary workaround of lack of runners.
2022-03-30 11:50:04 +08:00
Mahavir Jain
f8dad892ff Merge branch 'bugfix/decrease_s3_jobs' into 'master'
ci: remove extra S3 UT jobs that were not used

See merge request espressif/esp-idf!17640
2022-03-30 09:46:39 +08:00
Chen Yu Dong
51f438628a Merge branch 'ci/patterns_integration_test' into 'master'
CI: fix patterns for integration test

See merge request espressif/esp-idf!17637
2022-03-29 22:07:10 +08:00
Marius Vikhammer
4802a2a667 ci: remove extra S3 UT jobs that were not used 2022-03-29 19:15:50 +08:00
Chen Yudong
ddb836b779 CI: fix patterns for integration test 2022-03-29 17:03:27 +08:00
Anton Maklakov
39d82327d2 Merge branch 'ci/change_deploy_pre_needs' into 'master'
ci: deploy docs to preview as soon as build doc jobs are done

See merge request espressif/esp-idf!17598
2022-03-29 16:42:08 +08:00
Michael (XIAO Xufeng)
e3c0229d2e Merge branch 'ci/renable_s3_tests' into 'master'
ci: renable s3 tests

See merge request espressif/esp-idf!17574
2022-03-28 15:53:49 +08:00
Shubham Kulkarni
e9ad8a63c3 target-test.yml: Add job for ethernet_ota marker 2022-03-28 03:51:21 +00:00
Marius Vikhammer
d2bfa17510 ci: deploy to preview as soon as build doc jobs are done 2022-03-25 16:52:10 +08:00
Fu Hanxi
65354d74b3 ci: remove unused jobs 2022-03-25 12:57:15 +08:00
Fu Hanxi
9bb9b58b3b ci: rename all the generic s3 tag to generic_s3_fixme 2022-03-25 12:56:58 +08:00
Fu Hanxi
b37336f8b4 Revert "ci: temporarily disable S3 target tests"
This reverts commit 8df02332c1.
2022-03-25 12:39:57 +08:00
Aleksei Apaseev
528cdc1546 core_dump: split corefile and coredump script from idf into a separate package 2022-03-24 13:57:48 +08:00
Tomas Rezucha
6206302787 ci: Add USB Host CDC and MSC pytests to pipeline 2022-03-21 18:34:24 +01:00
Marius Vikhammer
8df02332c1 ci: temporarily disable S3 target tests
Disable running S3 target tests for now due to runner issues.
2022-03-21 12:59:14 +08:00
Fu Hanxi
9b77fc3ed9 ci: run integration_test when submodule changes 2022-03-17 18:39:19 +08:00
Fu Hanxi
66296f56e9 ci(pytest): add known failure cases 2022-03-14 20:29:38 +08:00
Mahavir Jain
a8ba5a0264 Merge branch 'ci/all_alloc_psram_config' into 'master'
[ci] Add unit test configs with aggressive PSRAM allocations

See merge request espressif/esp-idf!14996
2022-03-11 00:30:56 +08:00
Chen Yu Dong
fa3c31ffd5 Merge branch 'ci/update_pytest_cases' into 'master'
CI: update pytest cases

See merge request espressif/esp-idf!17226
2022-03-10 21:42:14 +08:00
Fu Hanxi
97846e883b Merge branch 'ci/refactor_test_apps_fuhanxi' into 'master'
ci: enable test_apps s3 c3 tests

Closes IDFCI-1124

See merge request espressif/esp-idf!17397
2022-03-10 17:40:32 +08:00
David Čermák
0b58f987cd Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
mdns: Add support for dynamic network interfaces

Closes IDF-939

See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Laukik Hase
7c6d343a60 ci: Add unit test configs for aggressive SPIRAM allocations
- CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
  Everything will be allocated from the SPIRAM
  (except DMA and FreeRTOS task resources)
- CONFIG_SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY=y
  Allow external memory as an argument to xTaskCreateStatic
- CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=default
  Reserved memory for crucial internal functions (DMA, FreeRTOS)
- Increase parallel job count
2022-03-10 05:01:17 +00:00
Fu Hanxi
851d832eb6 ci: enable test_apps s3 c3 tests
Refactor the tags a bit to make the tags could reuse the env markers.
They suppose to be the same thing.
2022-03-10 11:56:15 +08:00
David Cermak
34ae82e7bd CI: Increase parallel count for eth-runners 2022-03-09 10:44:30 +01:00
Chen Yudong
5c211efaa8 CI: update test cases from test results 2022-03-09 14:08:38 +08:00
Marius Vikhammer
934a3951b8 Merge branch 'feature/s2_s3_support_ext_mem_stack' into 'master'
soc: support placing task stacks in external memory for S2 and S3

Closes IDF-2797 and IDF-1805

See merge request espressif/esp-idf!16186
2022-03-09 11:57:31 +08:00
Marius Vikhammer
374712921a CI: add configs for running S2, S3 unit tests with PSRAM
Fixed various minor failures detected with these configs.
2022-03-04 15:29:17 +08:00
morris
52fcdbacc3 Merge branch 'feature/pcnt_driver_ng' into 'master'
 Driver-NG: Introduce a brand new driver for PCNT

Closes IDF-2196 and IDF-2896

See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
morris
0d920a47f7 unit_test: migrate to use pulse_cnt driver 2022-03-03 22:38:32 +08:00
Fu Hanxi
ce0533b75c ci: change scan test labels to scan_test 2022-03-03 11:25:10 +08:00
morris
b85eeb3224 Merge branch 'feature/lcd_isr_in_iram' into 'master'
refactor LCD unit tests into test apps

Closes IDF-4666

See merge request espressif/esp-idf!14980
2022-02-25 08:21:15 +00:00
Fu Hanxi
83965c22b7 ci: cache policy is pull-only for most of the jobs 2022-02-25 14:31:21 +08:00
David Cermak
5b236679b8 ci/mdns: Add new mdns fuzzer job for no-service test 2022-02-24 11:01:26 +01:00
Harshit Malpani
1cb9ba5076 Push out coap to idf-extra-component repository 2022-02-23 15:08:36 +05:30
Fu Hanxi
4cbaf6fbb1 ci: enable pytest panic test 2022-02-23 09:12:46 +08:00
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
2838886639 ci: temporarily disable MSPI_F8R8 test 2022-02-01 15:39:40 +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
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
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
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
517862de9e Remove references to nghttp from CI, docs and other places 2022-01-11 10:26:25 +05:30
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
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
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
Ivan Grokhotkov
ef5bc71372 ci: enable ccache for build jobs 2021-12-22 00:58:49 +01: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
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
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
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
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
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
Mahavir Jain
f441ce977a ci: increase parallel UT count for few jobs 2021-10-20 15:16:25 +05:30
Chen Yudong
a7c5c7134b ci: increase parallel count for UT_S3 2021-10-20 11:36:23 +08:00
Anton Maklakov
308b89acf3 Merge branch 'ci/move_check_tools_files_patterns_to_pre-commit' into 'master'
ci: move check_tools_files_patterns to pre-commit

See merge request espressif/esp-idf!15481
2021-10-19 11:55:19 +00:00
Roland Dobai
b544b521f4 Merge branch 'feat/idf_monitor_for_linux' into 'master'
feature: idf.py flash/monitor for linux target

Closes IDF-2417

See merge request espressif/esp-idf!15264
2021-10-18 12:39:14 +00:00
Ivan Grokhotkov
b46183a539 Merge branch 'feature/esp_timer_example_reenable' into 'master'
examples: esp_timer: enable for all targets

Closes IDF-2022

See merge request espressif/esp-idf!15028
2021-10-18 09:43:17 +00:00
Marius Vikhammer
a1f8147a93 Merge branch 'ci/rst_change_preview' into 'master'
ci: deploy doc previews when .rst files are changed

See merge request espressif/esp-idf!15500
2021-10-18 04:22:58 +00:00
Fu Hanxi
811ed96042 example: auto restart int the linux hello world example 2021-10-18 11:50:50 +08:00
Anton Maklakov
2de47f310d Merge branch 'ci/fix_deploy_docs_preview_url' into 'master'
ci: update docs preview url

See merge request espressif/esp-idf!15495
2021-10-14 03:25:43 +00:00
Marius Vikhammer
59e3697963 ci: deploy doc previews when .rst files are changed 2021-10-13 18:19:05 +08:00
Marek Fiala
ff18a96f7d tools: replace _ with - in idf.py
Closes https://github.com/espressif/esp-idf/issues/5126
2021-10-13 17:30:38 +08:00
Marius Vikhammer
68875ffecd ci: update docs preview url 2021-10-13 16:40:45 +08:00
Fu Hanxi
0b7a0d7cbd ci: move check_tools_files_patterns to pre-commit 2021-10-13 09:13:33 +08:00
Marius Vikhammer
338166d94b ci: add idf size mem region yamls to host test pattern 2021-10-12 10:19:09 +08:00
Armando
d6caf142d3 ci: add flash psram test under different configs on esp32s3 2021-10-08 15:59:57 +08:00
Ivan Grokhotkov
4120397924 ci: add S3 example test template and job 2021-10-04 16:12:47 +08:00
SalimTerryLi
92e337a38c
sdspi: enable UT & ExampleTest for C3/S2
Closes https://github.com/espressif/esp-idf/issues/7389

(1)     "MMC_RSP_BITS" [sd]                                                             [Y]
(2)     "probe SD in SPI mode" [sd][test_env=UT_T1_SPIMODE]                             [Y]
(3)     "probe SD in SPI mode, slot 0" [sd][ignore]                                     [N]
(4)     "SDMMC performance (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]                  [Y]
(5)     "SDMMC test read/write with offset (SPI mode)" [sdspi][test_env=UT_T1_SPIMODE]  [Y]
(6)     "CD input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
(7)     "WP input works in SPI mode" [sd][test_env=UT_T1_SPIMODE]                       [Y]
2021-09-24 15:17:18 +08:00
Fu Hanxi
34f044debd ci: enable esp32s3 example build 2021-09-16 11:16:52 +08:00
Jakob Hasse
418303d38a [examples]: fixed linux host example 2021-09-15 13:52:35 +08:00
dmitry
5d859f1404 Add Esp32s3 to the coredump component.
Add changed expected_output for esp32, esp32s2 and esp32c3. coredump tag update.
2021-09-13 05:20:34 -04:00
Fu Hanxi
220590d599 Merge branch 'ci/coredump_elf_workflow' into 'master'
ci: improve test_coredump workflow

See merge request espressif/esp-idf!15138
2021-09-10 07:11:47 +00:00
Anton Maklakov
106372fc93 Merge branch 'ci/fix_yml' into 'master'
ci: fix host-test.yml

See merge request espressif/esp-idf!15157
2021-09-10 03:59:56 +00:00
morris
25f723765e Merge branch 'feature/lcd_driver_follow_up' into 'master'
lcd: add PM lock

Closes IDF-3631, IDF-3704, and IDF-3317

See merge request espressif/esp-idf!14880
2021-09-10 03:14:50 +00:00
Fu Hanxi
54b8df81c8 ci: fix host-test.yml 2021-09-10 10:02:08 +08:00
Fu Hanxi
9af984f8e7 ci: improve test_coredump workflow
use commit sha to let it pass in MRs' CI pipelines
2021-09-09 18:37:48 +08:00
SalimTerryLi
14a6ab4a8e
esp_eth: new test_app: emac layer tests 2021-09-08 20:00:14 +08:00
morris
7dc9c7aa05 lcd: allow execlusive use of i80 bus 2021-09-08 11:34:46 +08:00
Marius Vikhammer
3c9f94d739 Merge branch 'feature/publish_s3_docs' into 'master'
docs: enable publishing of S3 docs

Closes IDF-3385 and IDF-3285

See merge request espressif/esp-idf!15074
2021-09-07 03:30:36 +00:00
Marius Vikhammer
1cf61c849f docs: enable publishing of S3 docs 2021-09-06 09:11:17 +08:00
Sachin Billore
81391fb18c Merge branch 'feature/esp_ds_s3' into 'master'
[esp_hw_support]: Digital Signature support for S3

Closes IDF-1791

See merge request espressif/esp-idf!14955
2021-09-03 07:57:26 +00:00
Sachin Billore
b09194308c CI increase parallel count for assing_test failure fix 2021-09-02 12:05:12 +05:30
Fu Hanxi
5671039154 ci(sonarqube): pass "sonar.exclusions" in CI
also increase the jvm size
2021-09-02 14:28:22 +08:00
laokaiyao
04970fe487 iperfUtility: add udp rx bandwidth scan 2021-09-01 19:11:28 +08:00
Fu Hanxi
3c5b006c19 Merge branch 'feat/update_pylint_version' into 'master'
ci: update pylint to 3.6

Closes IDF-3777

See merge request espressif/esp-idf!14973
2021-08-31 01:13:12 +00:00
SalimTerryLi
874a720286
soc/ll: workaround compiler bug that generate 8/16 bits inst instead of 32 bits one
update all struct headers to be more "standardized":

- bit fields are properly wrapped with struct
- bitwidth sum should be 32 within same struct, so that it's correctly padded with reserved bits
- bit field should be uint32_t
- typedef volatile struct xxx{} yyy;: xxx must exists. refer: https://github.com/espressif/esp-idf/pull/3199

added helper macros to force peripheral registers being accessed in 32 bitwidth

added a check script into ci
2021-08-30 13:50:58 +08:00
Fu Hanxi
065fc95369 ci: update pylint to 3.6 2021-08-30 11:18:51 +08:00