Commit Graph

805 Commits

Author SHA1 Message Date
morris
43d99f8364 twai: migrate example test to pytest 2022-10-31 21:44:08 +08:00
KonstantinKondrashov
beba771031 efuse: Migrate efuse unit tests from unit-test-app to component test app 2022-10-26 15:41:48 +08:00
Shu Chen
58be27dae2 Merge branch 'support/ieee802154_lib_CI_rules' into 'master'
ieee802154: add 154 lib CI initialization

See merge request espressif/esp-idf!20560
2022-10-24 19:19:48 +08:00
zhangwenxu
f3cadb4fab ieee802154: add 154 lib CI initialization. 2022-10-24 16:19:00 +08:00
harshal.patil
9f6e433bb5 ci: Migrate app_update unit tests from unit-test-app to component-test-app 2022-10-21 07:37:37 +00:00
Fu Hanxi
de2be3bd88 ci: add parallel count for pytest target test jobs based on dashboard analysis 2022-10-20 20:35:05 +08:00
Shu Chen
3d0e09c096 Merge branch 'bugfix/fix_ot_ci_Bidirectional_IPv6_check_network' into 'master'
feature: network check in openthread ci cases

See merge request espressif/esp-idf!20588
2022-10-19 10:52:08 +08:00
Marius Vikhammer
978c03c0c3 Merge branch 'feature/test_apps_def_config' into 'master'
CI: add common debug helper sdkconfig that can be used in test apps

See merge request espressif/esp-idf!20213
2022-10-19 10:37:48 +08:00
Xu Si Yu
0a7e204d2e CI:add openthread ipv6 ra check in openthread CI 2022-10-18 15:46:59 +08:00
Marius Vikhammer
099b0b6421 Merge branch 'feature/c6_doc_build' into 'master'
docs: add support for building C6 docs

Closes IDF-5829

See merge request espressif/esp-idf!19721
2022-10-18 09:37:30 +08:00
Chen Yudong
c258ef705e CI: optimize wifi get started example test 2022-10-13 20:27:57 +08:00
Marius Vikhammer
ca4ad3ce7c docs: add support for building C6 docs 2022-10-13 04:39:16 +00:00
Marius Vikhammer
23b5e54974 CI: add common debug helper sdkconfig that can be used in test apps 2022-10-12 11:47:04 +08:00
Fu Hanxi
2d27e09b4f ci: make bringup process for check_build_test_rules.py more friendly 2022-10-10 16:58:11 +08:00
Fu Hanxi
27e199605a ci: remove unused rules 2022-10-10 16:58:11 +08:00
Martin Vychodil
1abd4eac2c Merge branch 'test/fatfs_component_test_apps' into 'master'
fatfs: migrate unit tests to component test app, re-enable test for C2

Closes IDF-5588 and IDF-5136

See merge request espressif/esp-idf!20462
2022-10-06 21:10:39 +08:00
Martin Vychodil
c99a82de28 Merge branch 'bugfix/sdmmc_target_test' into 'master'
ci: add missing target-test jobs for sdcard and extflash examples

Closes IDF-6043

See merge request espressif/esp-idf!20466
2022-10-06 18:53:50 +08:00
Ivan Grokhotkov
ac830e04ac
fatfs: migrate unit tests to component test app, re-enable test for C2 2022-10-04 17:39:38 +02:00
Ivan Grokhotkov
104f2da4c6 Merge branch 'feature/pytest_build_system' into 'master'
build system: add initial version of pytest-based build system tests

See merge request espressif/esp-idf!19498
2022-10-04 01:18:58 +08:00
Ivan Grokhotkov
6872ff1080
ci: add missing target-test jobs for sdcard and extflash examples 2022-10-03 17:15:02 +02:00
Laukik Hase
aeb42ce3a7
https_server: Fix example when MBEDTLS_DYNAMIC_BUFFER is enabled
- While checking if ciphersuite uses RSA key exchange methods,
  the APIs `mbedtls_ssl_get_ciphersuite_id_from_ssl` and
  `mbedtls_ssl_ciphersuite_from_id` were used to get the ciphersuite
  info.
- However, this is incorrect as we need the ciphersuite info from the
  handshake instance and not the ssl_session instance.
2022-09-30 23:25:27 +05:30
Chen Yu Dong
adc9c1673e Merge branch 'ci/fix_upload-submodules-cache' into 'master'
CI: fix upload submodule cache for runners using mirror server

See merge request espressif/esp-idf!20436
2022-09-30 16:48:55 +08:00
Chen Yudong
3ed2b844c5 CI: fix upload submodule cache for runners using mirror server 2022-09-29 21:33:03 +08:00
Jakob Hasse
f33ac0a037 Merge branch 'feature/freertos_sim' into 'master'
FreeRTOS Single Core Simulator PoC

See merge request espressif/esp-idf!19256
2022-09-29 20:03:23 +08:00
Mahavir Jain
3afa68fe19
ci: update coredump elf repository tag 2022-09-28 20:41:02 +05:30
Jakob Hasse
bfbbd9d790 feat(freertos): Added FreeRTOS POSIX/Linux Simulator
* Added port layer from the FreeRTOS POSIX port, added
  additional port code for ESP-IDF.
* Created another hello world example using that POSIX
  port in tools/test_apps.
* Removed old linux app
2022-09-27 16:23:54 +02:00
wuzhenghui
fca7d70e05 esp32c6: add minimal ci support
- enable build_template_app
- enable check public headers
- enable g0 components dependency check
2022-09-26 20:32:13 +08:00
Roland Dobai
d08898aabc Merge branch 'fix/tools-gdbinit-with-elf-symbols' into 'master'
tools: fixed elf symbols load if gdbinit specified

Closes IDF-4991 and GCC-246

See merge request espressif/esp-idf!18089
2022-09-26 16:20:19 +08:00
Alexey Lapshin
0fd4b09a46 tools: add test for ROM symbols in GDB 2022-09-21 22:39:03 +04:00
Mahavir Jain
dc558a13cb
ci: remove redundant test_apps and example_tests jobs 2022-09-21 14:46:23 +05:30
Mahavir Jain
cd5f621368
ci: optimize UT job counts, increase for S3 (quad_psram) and remove redundant ones 2022-09-21 14:39:32 +05:30
Gao Xu
1005c3b9d5 Merge branch 'feature/add_flash_copy_to_psram_example' into 'master'
system: add an example showing moving Flash content to PSRAM feature

Closes IDF-5156

See merge request espressif/esp-idf!19340
2022-09-21 12:15:19 +08:00
Shu Chen
96b73d3c27 Merge branch 'feature/add_ot_CI' into 'master'
openthread: add openthread CI

See merge request espressif/esp-idf!19744
2022-09-19 20:16:57 +08:00
gaoxu
47c02efa72 system: add an example and pytest to showing moving Flash content to PSRAM feature. 2022-09-19 12:25:30 +08:00
harshal.patil
83504f96d4
ci: UT job parallel decreased 2022-09-17 14:31:37 +05:30
Kevin (Lao Kaiyao)
740a8b5729 Merge branch 'test/add_i2s_tdm_full_duplex_test_app' into 'master'
test: add i2s tdm full duplex multi device test app

Closes IDFGH-8003

See merge request espressif/esp-idf!19904
2022-09-17 00:57:21 +08:00
Ivan Grokhotkov
c18b404406 Merge branch 'bugfix/tools_json_ci_deps' into 'master'
ci: trigger build jobs from changes in tools.json

See merge request espressif/esp-idf!19865
2022-09-16 21:54:25 +08:00
Jiang Jiang Jian
40d13002d0 Merge branch 'ci/optimize_ats_ci_flow' into 'master'
CI: optimize ATS ci flow

See merge request espressif/esp-idf!20131
2022-09-16 20:34:03 +08:00
laokaiyao
77689055c2 ci: add generic_multi_device for pytest 2022-09-16 19:11:45 +08:00
laokaiyao
af0c0bd8ce i2s: fix the data lagging of slave role
Closes https://github.com/espressif/esp-idf/issues/9513
2022-09-16 18:45:02 +08:00
wangyuanze
4d0ac129b4 test: add i2s tdm full duplex multi device test app 2022-09-16 18:45:02 +08:00
Ivan Grokhotkov
1406c01f3f
ci: trigger build jobs from changes in tools.json 2022-09-16 10:15:29 +02:00
Xu Si Yu
07ebc527d5 openthread:add openthread CI 2022-09-16 14:07:31 +08:00
Armando
28aff8d08b ci: add adc test pattern 2022-09-16 03:21:29 +00:00
Armando
eee5085281 ci: use adc dedicated test runners for adc tests 2022-09-16 03:21:29 +00:00
Ivan Grokhotkov
0503cb52eb
build system: add the initial set of pytest-based build system tests 2022-09-16 00:07:55 +02:00
Omar Chebib
53c7dd4efc WDT: implement interrupt wdt and task wdt for ESP32-C2
ESP32-C2 has a single group timer, thus it will use it for the interrupt watchdog,
which is more critical than the task watchdog. The latter is implement in
software thanks to the `esp_timer`component.
2022-09-15 14:37:59 +08:00
Chen Yudong
bfa96bc597 CI: optimize ATS ci flow 2022-09-14 13:39:12 +08:00
radek.tandler
723adae0ec spiffs: convert host tests from Make to CMake 2022-09-12 14:14:09 +00:00
Tomas Rezucha
c6fbefcd84 usb_host: Remove custom test_app 2022-09-05 20:14:56 +02:00
simon.chupin
92ef2a4c83 Tools: Add unit tests for idf.py hints 2022-09-01 17:09:46 +02:00
Gao Xu
0da21aca0d Merge branch 'bugfix/fix_spi_hd_quad_issue_esp32c3' into 'master'
essl_spi: fix wrong dummy cycle under quad spi mode ant add a test to verify spi quad mod

Closes IDF-5182 and IDF-5181

See merge request espressif/esp-idf!18680
2022-08-30 10:53:11 +08:00
Fu Hanxi
4f3610f957 Merge branch 'ci/upload_elf_map_to_minio' into 'master'
ci: upload elf map file to s3 server to reduce artifacts size

Closes IDFCI-1385

See merge request espressif/esp-idf!19756
2022-08-30 01:06:11 +08:00
Ivan Grokhotkov
4f0967d44c Merge branch 'feature/update-gdb-to-11.2_20220823' into 'master'
tools: update gdb version to '11.2_20220823'

Closes IDFGH-4276 and IDF-842

See merge request espressif/esp-idf!19723
2022-08-29 19:34:40 +08:00
Fu Hanxi
d6c3370535 ci: build apps only on shiny server 2022-08-29 16:57:31 +08:00
Fu Hanxi
1ffa222c23 ci: fix check_test_scripts_build_test_rules not install pytest error 2022-08-29 16:57:31 +08:00
Fu Hanxi
62c6a1d8b7 ci: adjust build jobs parallel count 2022-08-29 16:57:31 +08:00
Fu Hanxi
2484e00a94 ci: move LDGEN_CHECK_MAPPING to configure_ci_environment.sh 2022-08-29 16:57:31 +08:00
Fu Hanxi
1267e826ca ci: upload elf map file to s3 server to reduce artifacts size
f
2022-08-29 16:57:31 +08:00
Cao Sen Miao
0313d2a5b4 esp_flash: Add ext flash on ESP32-C2 2022-08-26 12:53:56 +08:00
Alexey Lapshin
6455c27a9c ci: fix test_idf_tools dependencies 2022-08-24 23:00:30 +04:00
gaoxu
3610b14aef SPI : fix wrong dummy cycle on quad mode and put get-command function in spi_ll.h
1.The dummy_bits is set to 4 in ESP32C3/C2, therefore, the data transmission started too early.This commit fix this issue by changing dummy_bits to 8.
2.Put the spi command the spi defintion in spi_types.h
3.Put the function which get spi command or dummy bits in spi_ll.h
2022-08-23 10:46:56 +08:00
Marius Vikhammer
5b1593a3c1 Merge branch 'ci/enable_s3_default_s3' into 'master'
ci: re-enable running S3 tests by default

See merge request espressif/esp-idf!19430
2022-08-23 10:21:46 +08:00
Wan Lei
60d794501f Merge branch 'test/add_test_spi_sio_master_all' into 'master'
SPI Master: add sio multi-device test case for all chips

Closes IDF-4455

See merge request espressif/esp-idf!19249
2022-08-18 14:41:48 +08:00
Fu Hanxi
1daf541b6c ci: remove check_python_style since flake8 is included in pre-commit 2022-08-18 11:40:22 +08:00
Fu Hanxi
e8c44800e1 ci: test_idf_tools use system python 2022-08-18 11:40:22 +08:00
Fu Hanxi
f10e6145dc ci: simplify the python env to idf venv only 2022-08-18 11:40:22 +08:00
wanlei
6864f72ab7 test: add new spi-sio multi-board test for all chip
test sio master only, and splited into master input & output ability
slave device work on full duplex mode to provide input/output source only
2022-08-17 15:52:08 +08:00
Ivan Grokhotkov
985f44c158 Merge branch 'bugfix/partition_api_linux_test' into 'master'
spi_flash: convert Linux partition API test to Unity, bug fixes

See merge request espressif/esp-idf!19567
2022-08-16 21:28:41 +08:00
Mahavir Jain
6c2c05e8a0 Merge branch 'feature/esp_cryptoauthlib_from_manager' into 'master'
Push out esp-cryptoauthlib to component manager

See merge request espressif/esp-idf!19208
2022-08-16 17:01:53 +08:00
Mahavir Jain
4a38d9875d Merge branch 'feature/build_docker_on_submodules_change' into 'master'
ci: updates rules to trigger docker build on submodules change

See merge request espressif/esp-idf!19467
2022-08-16 12:47:08 +08:00
Jiang Jiang Jian
10330d153c Merge branch 'ci/add_integration_test_env' into 'master'
CI: add integration test env

Closes TRM-82 and TRM-83

See merge request espressif/esp-idf!19368
2022-08-16 12:14:19 +08:00
Ivan Grokhotkov
ad2a15d549
ci: enable artifacts for test_pytest_qemu 2022-08-16 00:02:17 +02:00
Ivan Grokhotkov
181105cddb
ci: run partition API test on host 2022-08-15 18:25:14 +02:00
Roland Dobai
24e63fd2c0 Merge branch 'feature/test_idf_tools_artifact_logs' into 'master'
Tools: Added test_idf_tools_python_env output log file

See merge request espressif/esp-idf!19518
2022-08-15 19:06:56 +08:00
Roland Dobai
50819ca05a Merge branch 'feat/pytest_monitor_ide_integration' into 'master'
CI: Migrate monitor IDE integration test to pytest

Closes IDFCI-1383

See merge request espressif/esp-idf!19224
2022-08-15 14:40:43 +08:00
Marek Fiala
24fc499b6c Tools: Added test_idf_tools_python_env output log file 2022-08-14 00:28:16 +02:00
Mahavir Jain
1edc761ef2
cleanup remaining references for esp-cryptoauthlib 2022-08-12 11:25:29 +05:30
Tomas Rezucha
d777b790d0 tinyusb: Add TinyUSB example tests 2022-08-10 14:51:18 +02:00
Mahavir Jain
2bd1888e47 Merge branch 'feature/adds_c2_tests' into 'master'
ci: Adds CI tests (secure_boot and flash encryption) for esp32c2

Closes IDF-5610

See merge request espressif/esp-idf!18485
2022-08-10 11:35:52 +08:00
Roland Dobai
887368e7b3 CI: Migrate monitor IDE integration test to pytest 2022-08-09 18:09:56 +02:00
Mahavir Jain
54baaa9bc1
ci: updates rules to trigger docker build on submodules change 2022-08-09 17:18:29 +05:30
Chen Yudong
38bd98acf0 CI: add integration test env 2022-08-08 22:07:40 +08:00
Marius Vikhammer
f2bca9e71e ci: re-enable running S3 tests by default 2022-08-08 14:06:59 +08:00
Guillaume Souchere
16c2cb3f1b Merge branch 'feature/replace-heap-tlsf-with-submodule' into 'master'
heap: Remove TLSF related files and replace them with the TLSF submodule

Closes IDF-4967

See merge request espressif/esp-idf!19220
2022-08-08 12:36:02 +08:00
KonstantinKondrashov
346cba9c57 efuse example: Adds CI tests for ESP32-C2 2022-08-04 13:14:24 +00:00
Guillaume Souchere
3737bf8322 heap: Remove TLSF related files and replace them with the tlsf submodule
As the tlsf implementation is a fork from https://github.com/mattconte/tlsf,
the sources are moved to a separate repository and used as a submodule in the esp-idf instead.

In this commit:
- Removing TLSF related files and using tlsf submodule instead.

- Adding components/heap/tlsf_platform.h header gathering all IDF specifics.

- The multi_heap_poisoning.c provides the declaration of the
function block_absorb_post_hook() definied weak in the TLSF repository.

- The tlsf_platform.h includes the tlsf_common.h file after the definition
of FL_INDEX_MAX_PLATFORM macro to make sure that this macro will be available
in tlsf_common.h without having to include tlaf_platform.h from IDF in the
tlsf_common.h header from the TLSF repository.

- Add missing include from tlsf_block_functions.h in the multi_heap.c file.
Change related to the changes made in TLSF repository (tlsf_block_functions.h
no longer included in tlsf.h)
2022-08-02 12:55:31 +02:00
Fu Hanxi
f315986401 Merge branch 'feat/add_ci_related_requirements_txt' into 'master'
Feat/add ci related requirements txt

Closes IDF-4590 and IDFCI-1389

See merge request espressif/esp-idf!19246
2022-08-02 15:49:36 +08:00
Fu Hanxi
7720e348c2 Merge branch 'ci/system_apps_pytest' into 'master'
ci: migrate system flash_psram test app to pytest

Closes IDFCI-1141

See merge request espressif/esp-idf!19161
2022-08-01 16:45:09 +08:00
Fu Hanxi
b684730da2 ci: use the new requirement txt
will be cleaned up in IDFCI-1347
2022-08-01 15:52:21 +08:00
Fu Hanxi
9c6e636c0a ci: --preserve-all is mandatory to run locally for unit-test apps 2022-08-01 15:49:15 +08:00
Chen Yu Dong
4d0385d9f0 Merge branch 'ci/target_test_do_not_need_submodules' into 'master'
CI: Do not need submodules in target test

See merge request espressif/esp-idf!19139
2022-08-01 15:21:06 +08:00
laokaiyao
4ab8f00b47 ci: setup 26mhz esp32c2 runner 2022-07-29 17:10:34 +08:00
Chen Yudong
486dbf441b CI: Do not need submodules in target test 2022-07-29 08:31:33 +00:00
laokaiyao
19486ad115 ci: add the forgotten xtal 40mhz tag for c2 example pytest 2022-07-29 11:32:05 +08:00
laokaiyao
ba235c5615 ci: add xtal_40mhz tag for c2 tests 2022-07-28 02:02:18 +00:00
Marius Vikhammer
c2a5f48498 ci: migrate system test apps to pytest 2022-07-26 11:47:28 +08:00
Fu Hanxi
a8f6cfb97d ci: export INCLUDE_NIGHTLY_RUN when mr got label 2022-07-25 16:24:23 +08:00
Michael (XIAO Xufeng)
f19dfd6afb Merge branch 'ci/reduce_usage_of_ut_sdio_runners' into 'master'
CI: reduce usage of sdio runners (UT_044, UT_045)

See merge request espressif/esp-idf!19184
2022-07-25 15:12:16 +08:00
Chen Yudong
9b44bc1d31 CI: reduce usage of sdio runners 2022-07-22 15:03:44 +08:00
Fu Hanxi
8e9cdb0770 docs: improve ci related docs 2022-07-22 08:18:19 +08:00
Simon
62bc3348d5 Merge branch 'ci/flash_encryption_test' into 'master'
flash_encryption: Add several test environments for flash encryption test

Closes IDF-5530

See merge request espressif/esp-idf!19043
2022-07-21 18:38:18 +08:00
Cao Sen Miao
e69f658ac6 flash_encryption: Add several test environments for flash encryption test 2022-07-20 12:49:42 +08:00
morris
bec44ca2e9 gptimer: test on c2 with xtal 26mhz 2022-07-20 04:40:28 +00:00
Marius Vikhammer
12dcb95644 Merge branch 'ci/remove_temp_deepsleep_tag' into 'master'
ci: remove temp deepsleep tag runner

Closes IDF-5213

See merge request espressif/esp-idf!18654
2022-07-19 14:58:33 +08:00
Marius Vikhammer
e4cbaa6f2b ci: remove temp deepsleep tag runner 2022-07-19 12:12:46 +08:00
Chen Yudong
84942f9121 CI: improve target test rules for ethernet and wifi tests 2022-07-18 18:47:01 +08:00
Chen Yudong
2f75733ad7 CI: Improve common test methods
also fix ota test cases
2022-07-15 14:21:34 +08:00
Chen Yudong
472ac26712 CI: update test cases to use different environment variables
change test environments
optimize asio udp server test
fix icmp echo test case
use ethernet_router env to run iperf test cases
2022-07-15 01:16:35 +08:00
Chen Yudong
5d0302e49f CI: add some common test methods 2022-07-15 01:16:35 +08:00
Fu Hanxi
9653af8d04 Merge branch 'ci/cache_submodules' into 'master'
CI: cache submodules

Closes IDFCI-1158

See merge request espressif/esp-idf!19009
2022-07-14 20:34:34 +08:00
Fu Hanxi
6d8ebacb8a ci: check .patterns-submodule in pre-commit 2022-07-14 14:08:16 +08:00
Fu Hanxi
62ca8e2fb4 ci: cache submodules 2022-07-14 14:08:16 +08:00
Fu Hanxi
54f69d35a3 ci: add check job and pre-commit 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Fu Hanxi
46bac6427a ci: default python version 3.7.10 2022-07-14 08:26:01 +08:00
Ivan Grokhotkov
230e732018 Merge branch 'feature/system_init_priorities' into 'master'
esp_system: introduce priorities for startup functions

Closes IDFGH-5683 and IDF-4954

See merge request espressif/esp-idf!18159
2022-07-14 06:22:25 +08:00
Ivan Grokhotkov
42654927d5
esp_system: add a script to check the startup priorities 2022-07-12 16:58:14 +02:00
Ivan Grokhotkov
faa349b93f
global: remove tinyxml2 submodule 2022-07-12 15:04:28 +02:00
Jiang Jiang Jian
76e77b90ed Merge branch 'ci/add_nightly_run_rules_for_jobs' into 'master'
CI: add specific job rules

Closes IDF-5474

See merge request espressif/esp-idf!18950
2022-07-12 11:01:56 +08:00
Chen Yudong
69e15827c9 CI: add specific job rules 2022-07-11 12:32:30 +08:00
Chen Yudong
0183f526c0 CI: Only deploy test cases on master 2022-07-08 00:50:36 +08:00
Marius Vikhammer
457e31a715 freertos: re-enable tests disabled for C2 2022-07-06 12:15:04 +08:00
David Čermák
46fe7dbc8c Merge branch 'component/mdns_migration' into 'master'
mdns: Remove internal component, examples, test and docs

Closes IDF-4074

See merge request espressif/esp-idf!17683
2022-07-04 17:45:27 +08:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Mahavir Jain
3df4c01d62 Merge branch 'ci/remove_redundant_jobs' into 'master'
ci: remove redundant OTA examples jobs

See merge request espressif/esp-idf!18721
2022-06-30 19:27:30 +08:00
Jiang Jiang Jian
af83290002 Merge branch 'bugfix/fix_some_c2_ble_bugs' into 'master'
Fixed ESP32C2 BLE  bugs

See merge request espressif/esp-idf!18693
2022-06-30 16:39:50 +08:00
Chen Yudong
7031d00aed CI: update submodule patterns 2022-06-30 12:15:31 +08:00
Ivan Grokhotkov
4c3dec9705
ci: check_public_headers: run for all targets 2022-06-29 22:49:51 +02:00
gabsuren
d413a71f61 mdns: Remove internal component, examples, test and docs 2022-06-29 17:30:34 +04:00
Harshit Malpani
e526e5593a ci: remove redundant OTA examples jobs 2022-06-29 16:30:02 +05:30
Martin Vychodil
339fcbf14d System/Security: Memprot API unified (ESP32S3)
Unified Memory protection API for all PMS-aware chips - ESP32S3 port
2022-06-20 02:36:44 +00:00
Sudeep Mohanty
9a53a4abf1 freertos: refactor yield tests for freertos
This commit refactors the yield test scenarios for a more deterministic
prediction of the kernel's yielding behavior.
2022-06-13 10:57:55 +02:00
David Čermák
a6980a6b6a Merge branch 'bugfix/mqtt_host_test' into 'master'
MQTT: Fix compilation of networking host tests

Closes IDF-4286

See merge request espressif/esp-idf!18099
2022-06-13 13:13:00 +08:00
David Cermak
1ad3e2db17 mqtt: Fix and add mqtt host test to CI 2022-06-11 14:23:30 +02:00
Fu Hanxi
7e0bb1dabd ci: use tags as markers 2022-06-10 09:13:23 +08:00
Marius Vikhammer
6e79cc69f9 re-enable riscv ulp gpio support and examples
Closes https://github.com/espressif/esp-idf/issues/8691
Closes https://github.com/espressif/esp-idf/issues/9094
2022-06-08 17:59:28 +08:00
Fu Hanxi
f20a747a26 ci: upload cache only when requirements txt changed 2022-06-08 08:19:35 +08:00
Harshit Malpani
74789fff4a ci: increase parallel count for pytest_build_examples for esp32s2, esp32s3 and esp32c3 2022-06-03 18:50:36 +05:30
Harshit Malpani
2d244ded08 target-test.yml: Add jobs 2022-06-03 16:00:52 +05:30
Michael (XIAO Xufeng)
b9f37be868 ci: enable target tests for ESP32-C2
reduce parallel num of unused jobs
2022-06-02 11:10:29 +08:00
Jiang Jiang Jian
bf4afcbe57 Merge branch 'ci/add_esp32c2_ssc_build_jobs' into 'master'
CI: add esp32c2 SSC build jobs

See merge request espressif/esp-idf!18302
2022-05-30 12:01:45 +08:00
Chen Yudong
4bf7e1944d CI: add esp32c2 SSC build jobs 2022-05-30 10:18:20 +08:00
Harshit Malpani
a1810c5066 ci: increase parallel count for build_pytest_examples_esp32 2022-05-27 10:31:21 +05:30
Harshit Malpani
877b00ab5f target-test.yml: Add job for tags related to ota tests 2022-05-23 13:11:21 +05:30
Fu Hanxi
4746a71028 ci: add qemu example 2022-05-21 00:11:59 +08:00
Marius Vikhammer
030e52f5d4 Merge branch 'feature/improve_doc_link_check' into 'master'
docs: fix broken links and re-enable linkchecker

Closes IDF-2640

See merge request espressif/esp-idf!17919
2022-05-19 15:52:17 +08:00
Marius Vikhammer
be7f465306 CI: make full docs build the default 2022-05-18 17:38:00 +08:00
Martin Gano
e9716b1498 Merge branch 'feature/add-fatfs-parser' into 'master'
fatfsgen.py implement functionality for parsing fatfs

Closes IDF-4360

See merge request espressif/esp-idf!17951
2022-05-17 17:07:13 +08:00
Mahavir Jain
361b40c994 Merge branch 'feature/cbor_example_pytest_migration' into 'master'
cbor example pytest migration

See merge request espressif/esp-idf!18052
2022-05-17 16:56:01 +08:00
Martin Gaňo
005af75da3 Added FATFS partition parser 2022-05-16 14:32:17 +02:00
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