Commit Graph

758 Commits

Author SHA1 Message Date
Marius Vikhammer
338166d94b ci: add idf size mem region yamls to host test pattern 2021-10-12 10:19:09 +08:00
Fu Hanxi
db53d14018 ci: make ignore lists optional for approval 2021-10-12 10:14:23 +08:00
Armando
d6caf142d3 ci: add flash psram test under different configs on esp32s3 2021-10-08 15:59:57 +08:00
simon.chupin
57d1e6157b tools/idf_size: improve readability 2021-10-06 15:28:05 +02:00
Ivan Grokhotkov
4120397924 ci: add S3 example test template and job 2021-10-04 16:12:47 +08:00
David Cermak
82780c5dc9 codeowner: Add owners for examples in network category
New example folder `network` has been introduced in 4ac24549ad to
hold examples related to generic networking, not specifically to
ethernet nor wifi. This change however didn't assign code owners, so
only IDF maintainers could approve MRs.

Assigning code ownership to groups:
* network
* wifi
2021-09-27 11:20:01 +02: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
David Cermak
0b3476fdd0 CI: mqtt test apps: removed unnecessary env.yml 2021-08-25 16:41:33 +08:00
Wu Zheng Hui
3128a2544b Adjust the variable name &
Add mapping support for different sizes of spi ram
2021-08-25 16:06:28 +08:00
Zim Kalinowski
f65c8249af Merge branch 'feature/esp_docs' into 'master'
docs: update to use esp-docs

Closes IDF-3105

See merge request espressif/esp-idf!13333
2021-08-24 00:56:57 +00:00
Marius Vikhammer
7411321603 docs: update to use esp-docs 2021-08-24 08:56:48 +08:00
Marius Vikhammer
1ecb071735 ci: add extra jobs where needed as well as remove all unused jobs 2021-08-23 10:17:27 +08:00
Jakob Hasse
c81d45280e Merge branch 'feature/change_spi_flash_mock_impl' into 'master'
Added spi_flash mocks

See merge request espressif/esp-idf!14235
2021-08-19 07:06:38 +00:00
Fu Hanxi
d66a407eb3 ci: enable clang-tidy check for more components
Use internal project clang-tidy-runner

Move sonarqube related configs to sonar-project.properties
2021-08-19 09:26:20 +08:00
Jakob Hasse
46e59e7194 [mocks]: moved already added spi_flash mocks
[nvs]: page test works with new overriden mock

[spi_flash]: Removed mocking code from CMake

* Renamed nvs test to be consistent with other
  host test
2021-08-18 11:05:51 +08:00
Marius Vikhammer
342da3f86b Merge branch 'bugfix/readme_links_precheck' into 'master'
ci: always run check_readme_links

See merge request espressif/esp-idf!14796
2021-08-17 04:35:35 +00:00
Anton Maklakov
9a9ff2fc57 ci: don't download artifacts for idf.exe build job 2021-08-16 13:40:26 +07:00
Anton Maklakov
85505d03fd Merge branch 'bugfix/ci_docker_needs' into 'master'
ci: don't download artifacts for docker build job

See merge request espressif/esp-idf!14724
2021-08-16 06:31:32 +00:00
Marius Vikhammer
6fc8c484ea ci: always run check_readme_links 2021-08-16 10:29:20 +08:00
Jakob Hasse
ca12c92877 [esp_timer]: created mock override component 2021-08-13 15:00:39 +08:00
Ivan Grokhotkov
25ab0aeee6 ci: don't download artifacts for docker build job 2021-08-10 11:29:25 +03:00
Jakob Hasse
88eb4fa6a6 [mocks]: moved mocks dir to tools/ 2021-08-10 14:45:42 +08:00
Jakob Hasse
c9984faaef [mocks]: freertos mock
[esp_event]: added preliminary host-based tests
2021-08-06 17:08:21 +08:00
Jakob Hasse
06956d46c1 [cxx]: GPIO CXX wrappers, experiemental CI rule
* Wrapper class for simple GPIO interaction
  like read/write without ISRs.
* Added rule to provoke builds after changes in
  the experimental C++ component.
2021-08-03 19:51:21 +08:00
Zim Kalinowski
b5f9149399 Merge branch 'feature/rom_linux' into 'master'
[rom] linux implementation for major utility functions

See merge request espressif/esp-idf!13902
2021-08-03 10:58:38 +00:00
Zim Kalinowski
72769c8323 Merge branch 'feature/ipc_using_isr_call' into 'master'
esp_ipc: Add API for IPC to run small pieces of code on the other CPU

Closes IDF-450 and IDF-2261

See merge request espressif/esp-idf!6705
2021-08-03 06:35:38 +00:00
Konstantin Kondrashov
4972605b16 esp_common: Add API for IPC to run small pieces of code on the other CPU, in the context of the level 4 interrupt 2021-08-03 14:35:29 +08:00
Jakob Hasse
4dd88329c1 [esp_rom]: Partially buildable for linux
The following files have been ported:
* esp_rom_crc.h
* esp_rom_sys.h
* esp_rom_efuse.h (mostly no-ops)
* esp_rom_md5.h

Integrated Linux-based rom implementation into log
and NVS component.

Added brief host tests for ROM to ensure basic
consistency on Linux.

Added ROM printf host unit tests.

Temporarily added reset reason for Linux in ROM.
2021-08-03 12:03:24 +08:00
Angus Gratton
dea52a92b9 make: Fix COMPONENT_OWNBUILDTARGET
Add build system test to match

Partial fix for https://github.com/espressif/esp-idf/issues/3664
2021-08-03 10:40:39 +08:00
Cao Sen Miao
992de2750e spi_flash: add support for ext flash 2021-07-31 14:11:35 +08:00
Fu Hanxi
d4c72cc844 ci: add sonarqube file patterns 2021-07-29 15:55:03 +08:00
Fu Hanxi
00098c344f ci: fix sonarqube custom excludes missing issue 2021-07-29 13:04:21 +08:00
Armando
9063a7b7e3 test: add an SPI dual board test for master FD DMA single directions test 2021-07-28 17:51:25 +08:00
He Yin Ling
2849f3bf44 Merge branch 'test/add_ethernet_iperf_example_test_case' into 'master'
Test: add ethernet iperf example test case

Closes TCI-463

See merge request espressif/esp-idf!13696
2021-07-28 01:39:12 +00:00
Lu Ai Jun
d29335710d test: add ethernet iperf example test case 2021-07-28 09:39:02 +08:00
Ivan Grokhotkov
7f8790b528 ci: run host tests when tools.json is updated 2021-07-27 12:19:35 +02:00
Ivan Grokhotkov
3fa8e8d1e3 Merge branch 'feature/windows_installer_moved_to_github' into 'master'
tools: Windows Installer project moved to github.com/espressif/idf-installer

Closes IDF-3147

See merge request espressif/esp-idf!14120
2021-07-26 21:41:38 +00:00
He Yin Ling
fe6133cfc7 Merge branch 'ci/rename_test_log_path' into 'master'
CI: rename log path of IT jobs

See merge request espressif/esp-idf!14451
2021-07-22 12:37:45 +00:00
Juraj Michálek
76544b053a tools: Windows Installer project moved to github.com/espressif/idf-installer 2021-07-22 12:13:38 +02:00
Konstantin Kondrashov
76a4340bf7 Merge branch 'bugfix/efuse_table_for_c3' into 'master'
efuse: Fix len of SOFT_DIS_JTAG for esp32c3 and esp32h2

Closes IDF-3577

See merge request espressif/esp-idf!14389
2021-07-22 08:47:34 +00:00
Fu Hanxi
12f0b55ca9 test(coredump): refactor coredump test and add esp32s2/esp32c3 tests 2021-07-22 10:17:59 +08:00
Ivan Grokhotkov
b4e8e9c845 ci: install CMake version from tools.json in espcoredump test
To help achieve reproducible builds.
2021-07-22 10:14:33 +08:00
KonstantinKondrashov
59bbfe5e38 ci: Adds eFuse host test for ESP32-H2 chip 2021-07-21 17:19:01 +05:00
He Yin Ling
9f8f929e25 CI: rename log path of IT jobs 2021-07-21 10:02:52 +08:00
Michael (XIAO Xufeng)
acad1ce1f0 Merge branch 'feat/codeowners_touch_element' into 'master'
codeowner: add peripherals to touch_element codeowners

See merge request espressif/esp-idf!14336
2021-07-20 17:26:03 +00:00
Michael (XIAO Xufeng)
f7d8052068 codeowner: add peripherals to touch_element codeowners 2021-07-21 01:25:56 +08:00
Fu Hanxi
fab4c0ce41 ci: fix label only dependencies 2021-07-20 14:37:54 +08:00
Fu Hanxi
7997591f56 ci: update hosts test patterns 2021-07-20 10:00:25 +08:00
morris
7cd4c4d542 gitlab: update codeowner for unit-test-app 2021-07-18 16:10:10 +08:00
Angus Gratton
ae04cbe48f ci: Bump S3 UT count 2021-07-16 20:14:28 +08:00
Omar Chebib
9dd02354d2 Merge branch 'feature/riscv_panic_backtrace' into 'master'
espsystem: add support for RISC-V panic backtrace

Closes IDF-2064

See merge request espressif/esp-idf!12070
2021-07-16 04:13:44 +00:00
Marius Vikhammer
126c6405f1 Merge branch 'feature/s3_default_2_config' into 'master'
CI: add S3 default_2 unit test config

See merge request espressif/esp-idf!14279
2021-07-15 09:29:31 +00:00
Omar Chebib
0771bd1711 espsystem: Rearchitecture and fix eh_frame_parser bugs
eh_frame_parser is architecture independent, thus the files have
been rearchitectured. Some bugs have been fixed in the test.
A README file has also been added to eh_frame_parser host test
directory.

eh_frame_parser is now able to detect empty gaps in .eh_frame_hdr
table (missing DWARF information).
Fix a bug occuring when parsing backtraces originated from abort().
Fix build missing dependencies issue.
2021-07-15 12:47:51 +08:00
Shu Chen
bdaeeb3169 ieee802154: add IEEE 802.15.4 component 2021-07-14 19:14:30 +08:00
Marius Vikhammer
6800d3f0ee ci: add system group as codeowners to soc/ 2021-07-14 09:52:44 +08:00
Angus Gratton
4fe4df8770 Merge branch 'feature/bootloader_pin_level_pr7089' into 'master'
bootloader: Add configurable pin level for factory reset (PR)

Closes IDFGH-5337

See merge request espressif/esp-idf!13956
2021-07-13 05:39:25 +00:00
Angus Gratton
4502a6a5ae Merge branch 'ci/test_apps_codeowners' into 'master'
ci: Add codeowners for test_apps categories

See merge request espressif/esp-idf!14312
2021-07-13 03:56:02 +00:00
Angus Gratton
a06929cf29 ci: Fix example Python matching, update ordering check
For matches like **/*.py we need to place the wildcard last, so that
it can override previous directory matches (otherwise the directory
matches override the wildcard). Relax the check_codeowners.py order
check to allow this.
2021-07-12 11:30:11 +10:00
Michael (XIAO Xufeng)
ade0e9e7ff gitlab: add codeowner for usb component. 2021-07-09 10:40:24 +08:00
Angus Gratton
7b75befb18 ci: Add codeowners for test_apps categories 2021-07-09 10:03:37 +10:00
Marius Vikhammer
80acc1a002 CI: add S3 default_2 unit test config 2021-07-08 18:39:57 +08:00
Shu Chen
d93887f9f0 Merge branch 'feature/openthread-lib' into 'master'
openthread: provide prebuilt libopenthread libraries

See merge request espressif/esp-idf!14177
2021-07-08 09:15:33 +00:00
Jiang Jiang Jian
f9e37ea4d6 Merge branch 'fix/add_wifi_bt_group_as_owners' into 'master'
add wifi bt group to rom and pm components

See merge request espressif/esp-idf!14275
2021-07-07 08:58:48 +00:00
Jiacheng Guo
0050248918 openthread: provide prebuilt libopenthread libraries 2021-07-07 15:27:47 +08:00
Marius Vikhammer
18453920df CI: Update docs codeowners 2021-07-07 12:19:46 +08:00
Jack
cea4deb218 add wifi bt group to rom and pm components 2021-07-06 14:09:22 +08:00
Angus Gratton
634db50fcb ci: Bump UT count 2021-07-05 12:08:36 +08:00
Angus Gratton
b462484f98 Merge branch 'ci/move_build_test_jobs' into 'master'
ci: move target-test unrelated build jobs into host_test stage

See merge request espressif/esp-idf!14188
2021-07-02 05:46:56 +00:00
Fu Hanxi
2800f36416 ci: move target-test unrelated build jobs into host_test stage 2021-06-30 15:36:44 +08:00
Marius Vikhammer
bc5d86974c ci: only run check_docs_gh_links job once per pipeline
Job simply walks all .rst files and check links. No need to
run for multiple targets/languages
2021-06-30 13:30:42 +08:00
Roland Dobai
95d0afbe69 CI: Use smaller docker image for documentation build 2021-06-24 16:15:56 +02:00
Roland Dobai
395575d94c CI: Use the tagged image for static analysis 2021-06-22 15:58:45 +02:00
Roland Dobai
b22fcbef96 Merge branch 'feature/drop_py2_support' into 'master'
Drop support for unsupported Python versions

Closes IDF-1676

See merge request espressif/esp-idf!13622
2021-06-22 09:28:49 +00:00
morris
4c0ddd34b4 ci: added script to check api violations 2021-06-22 11:28:01 +08:00
Roland Dobai
407053592e Drop support for unsupported Python versions 2021-06-21 21:48:49 +02:00
Marius Vikhammer
fae5185916 CI: regenerate esp_err_to_name.c
Move esp err to name check to pre-check stage in CI to prevent failures like this.
2021-06-21 11:19:56 +08:00
Ivan Grokhotkov
ae0657083b Merge branch 'feature/move-filters-from-idf-monitor' into 'master'
Moved GDB utils and logging utils out of idf_monitor.py

See merge request espressif/esp-idf!13555
2021-06-18 10:27:14 +00:00
Konstantin Kondrashov
4c0cf40a39 efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
Martin Gaňo
252036567c Moved filters out of idf_monitor.py 2021-06-17 21:38:38 +02:00
David Čermák
4d604ee6d2 Merge branch 'bugfix/remove_unstable_network_tests' into 'master'
CI: Move mqtt publish tests from regular pipeline to weekend tests

Closes IDFCI-653

See merge request espressif/esp-idf!13891
2021-06-17 07:04:51 +00:00
Marius Vikhammer
d9f5126d24 CI: enable running unit tests in CI for S3 2021-06-15 11:13:50 +08:00
David Cermak
74fd8d7af8 CI: Enable publish tests only when started from weekend pipeline 2021-06-11 16:52:43 +02:00
David Cermak
4cdc583ccd CI: Removed weekend network tests
Temporarily, before getting reworked and stable for running in the CI
2021-06-10 09:11:40 +02:00
David Cermak
32fb96734c CI/mqtt: Execute mqtt weekend tests from test apps 2021-06-10 09:10:16 +02:00
Michael (XIAO Xufeng)
1322a44588 Merge branch 'feature/mcpwm_refactor_and_support_esp32s3' into 'master'
MCPWM: refactor driver and support ESP32-S3

Closes IDF-1765

See merge request espressif/esp-idf!11907
2021-06-09 16:45:20 +00:00
Angus Gratton
bc4eb2071c Merge branch 'feature/toolchain_2021r1' into 'master'
Bring 2021r1 toolchains

Closes IDFGH-5009

See merge request espressif/esp-idf!13554
2021-06-09 05:06:23 +00:00
morris
b47d012720 mcpwm: refactor unit test 2021-06-09 12:27:01 +08:00
Marius Vikhammer
bdfda351bd build docs: enable building of S3 docs
* Added suport for building esp32s3 docs
 * Fixed all related warnings
 * Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
Anton Maklakov
2e47854c10 Merge branch 'ci/unify_all_target_test_artifacts_paths' into 'master'
ci: unify target test artifacts to all .log file and $LOG_PATH

Closes IDFCI-661

See merge request espressif/esp-idf!13838
2021-06-07 15:54:22 +00:00
Anton Maklakov
3b60c2e131 ci: add debug artifacts for test_idf_tools 2021-06-07 18:48:38 +07:00
Shu Chen
6061a547e5 esp_phy: decouple esp_phy component from esp_wifi and bt
* add esp-phy-lib submodule
* move libphy.a and phy_init.c from esp_wifi to esp_phy
* move librtc.a from esp_wifi to esp_phy
* move libbtbb.a from bt to esp_phy
* corresponding updates to build system
2021-06-03 16:17:31 +08:00
Fu Hanxi
a998b3db74 ci: unify target test artifacts to all .log file and $LOG_PATH 2021-06-03 10:34:51 +08:00
Jakob Hasse
0ea20caa71 [log]: Normal log works on Linux now
* also removed strlcpy dependency from log
* added Kconfig option for linux target

Closes IDF-3245
2021-05-28 11:05:22 +08:00
Fu Hanxi
48e4723839 fix(ci): deploy_test_result missing logs artifacts from target_test stage 2021-05-21 15:31:34 +08:00
Michael (XIAO Xufeng)
e941bc838c Merge branch 'feature/lcd_driver' into 'master'
esp_lcd component panel driver

Closes IDF-2933 and IDF-2934

See merge request espressif/esp-idf!12813
2021-05-13 04:29:07 +00:00
morris
e10202a608 lcd: add esp_lcd component
* Support intel 8080 LCD panel IO on ESP32-S3
* Support RGB LCD panel on ESP32-S3
* Support SPI && I2C LCD panel IO on all esp chips
2021-05-12 17:53:32 +08:00
Ivan Grokhotkov
1248ddaf3c ci: add component_ut_test_{esp32s2,esp32c3} jobs 2021-05-10 21:23:04 +02:00
Angus Gratton
ca89608f22 Merge branch 'feature/doc_fast_build' into 'master'
docs: add fast build feature and activate it in CI

See merge request espressif/esp-idf!13352
2021-05-06 03:56:56 +00:00
Ivan Grokhotkov
0bd9f6fe12 tools: spiffsgen: fix length error, add test case 2021-05-03 11:37:42 +02:00
Martin Vychodil
99aa037793 * SD card example split (SDMMC/SDSPI)
JIRA IDF-1456
2021-04-29 10:38:55 +02:00
Marius Vikhammer
89179dc286 docs: add fast build feature and activate it in CI
Adds feature for skipping include of doxygen headers into sphinx build
when env variable is set.

Builds incomplete docs (no function API documention)
but speeds up building (20min to 1<min).

Add this fast build as the default way of building docs in CI on
non protected branches.
2021-04-28 16:32:35 +08:00
zwj
3c06fea8a1 fix esp32c3 and esp32s3 ble disconnect due to connection paramters update 2021-04-25 20:18:21 +08:00
Ivan Grokhotkov
dda851c923 ci: increase test_app_test_esp32_generic parallel test count 2021-04-22 23:34:04 +02:00
Shubham Kulkarni
691e30e659 advanced_https_ota: Add example test for OTA with OpenSSL server with binary file aligned to 289 byte boundary 2021-04-21 20:57:58 +05:30
Ivan Grokhotkov
d34421dd7b Merge branch 'feature/build_nvs_host_test_ci' into 'master'
Add nvs page host test to CI

Closes IDF-2425

See merge request espressif/esp-idf!12417
2021-04-20 23:32:01 +00:00
Jakob Hasse
2fb5b42eb1 [nvs] add nvs page host test to CI
Closes IDF-2425
2021-04-20 14:40:16 +08:00
Fu Hanxi
4d4abf428b ci: add helper info for tests with no config 2021-04-20 11:18:12 +08:00
Ivan Grokhotkov
cff3f18ce0 ci: increase parallel count for ESP32C3_IDF, UT_T1_1 tag 2021-04-16 15:51:32 +02:00
Ivan Grokhotkov
fa72ef6bd8 Merge branch 'feature/add-eventfd' into 'master'
vfs: add eventfd support

See merge request espressif/esp-idf!12573
2021-04-16 10:33:06 +00:00
Michael (XIAO Xufeng)
58758486b2 Merge branch 'ci/enable_flash_suspend_test' into 'master'
spi_flash: enable unit-test for flash suspend

Closes IDF-3081

See merge request espressif/esp-idf!13115
2021-04-16 10:16:25 +00:00
Angus Gratton
bc3d45026c Merge branch 'bugfix/deep_sleep_skip_verify_rtc_mem_heap' into 'master'
Fix bootloader "skip validate on exiting deep sleep" option if "use RTC memory as heap" is enabled

See merge request espressif/esp-idf!12032
2021-04-15 23:56:39 +00:00
Jiacheng Guo
bbb0e7a573 vfs: fix build & ci errors 2021-04-15 15:19:00 +08:00
Angus Gratton
b68d46c8a0 deep sleep example: Extend test coverage to ESP32-S2
* Modify the example on ESP32-S2 to print same output pattern as ESP32
* Add example test verification that "fast booting" (skipping of verification) is working
2021-04-15 16:20:58 +10:00
Cao Sen Miao
ed16e9b5d6 spi_flash: enable unit-test for flash suspend 2021-04-15 12:05:40 +08:00
Shubham Kulkarni
0a395134d4 Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols 2021-04-15 04:00:06 +00:00
Angus Gratton
ec01a66557 Merge branch 'feature/esp32c3_memprot_test3' into 'master'
ESP32C3/ESP32S2: memprot API upgrade and test application

Closes IDF-2641

See merge request espressif/esp-idf!12941
2021-04-13 18:42:46 +00:00
KonstantinKondrashov
af3cbe2888 simple_ota_example: Adds configs to test on_update_no_secure_boot option (RSA&ECDSA) 2021-04-13 11:28:13 +00:00
Ivan Grokhotkov
b51a7e0cc7 Merge branch 'feature/win_inst_offline' into 'master'
Feature/win inst offline

Closes IDF-2636, IDF-2664, IDFGH-4549, IDFGH-3424, IDFGH-4260, IDFGH-4664, IDFGH-2202, IDFGH-4697, IDF-2742, and IDF-2955

See merge request espressif/esp-idf!12003
2021-04-12 06:54:24 +00:00
Martin Vychodil
f27c9c5139 esp32c3: memprot API upgrade and test application
Closes IDF-2641
2021-04-12 13:44:11 +10:00
Fu Hanxi
1a51e325e4 ci: components and build_system patterns will run build_ssc as well 2021-04-09 12:27:41 +08:00
Cao Sen Miao
c3da21a93f I2C: enable all unit test for i2c on esp32c3 2021-04-06 17:37:55 +08:00
Chen Shu
6be0ed9077 Merge branch 'feature/add-openthread' into 'master'
openthread: add OpenThread and porting

Closes IDF-2911

See merge request espressif/esp-idf!12570
2021-04-02 06:49:55 +00:00
Guo Jia Cheng
7c38989309 OpenThread: add OpenThread and porting
* Adds the OpenThread submodule.
* Adds porting on ESP32.
* Adds the OpenThread cli example.
2021-04-02 14:49:49 +08:00
Fu Hanxi
d7341eb78f ci: fix test_app_test_001 missing junit report 2021-03-31 11:39:11 +08:00
Angus Gratton
2a6dd33d35 Merge branch 'feature/c3_flash_enc_tests' into 'master'
flash enc: add flash encryption unit and example test for C3

Closes IDF-2936

See merge request espressif/esp-idf!12774
2021-03-29 06:45:32 +00:00
Fu Hanxi
d64eafcd7c ci: add example c3 as a special case for build only 2021-03-29 11:11:02 +08:00
Marius Vikhammer
d3d145285d flash enc: add flash encryption unit and example test for C3 2021-03-25 17:51:22 +08:00
Juraj Michalek
70e06a46ba tools: IDF Windows installer offline mode support 2021-03-24 12:27:46 +01:00
Anton Maklakov
93a9803378 Merge branch 'bugfix/c3_unit_test_rule' into 'master'
ci: run c3 unit tests when other unit test run

See merge request espressif/esp-idf!12595
2021-03-22 04:06:44 +00:00
Michael (XIAO Xufeng)
d5543c3dae Merge branch 'bugfix/spi_slv_dual_boad_test_slv_fail_issue' into 'master'
spi: update slv dual board test for ci due to no pullup resistor on io10 on c3

See merge request espressif/esp-idf!12332
2021-03-18 06:41:28 +00:00
Anton Maklakov
e7d8337d9a Merge branch 'ci/ignore_check_link_result' into 'master'
CI: ignore result from check_doc_links

Closes IDFCI-503 and IDFCI-383

See merge request espressif/esp-idf!12754
2021-03-18 04:06:29 +00:00
No One
2e5a334831 ci: run c3 unit test when other unit test run
C3 unit test were only being ran by unit_test_esp32c3 label/title,
should also be trigger by unit_test label/title
2021-03-18 10:36:08 +08:00
Anton Maklakov
93c0d0b4b8 Merge branch 'ci/build_unit_test_in_parallel' into 'master'
ci: build unit_test in parallel

See merge request espressif/esp-idf!12510
2021-03-18 02:10:05 +00:00
Marius Vikhammer
6a46a77356 CI: ignore result from check_doc_links
check_doc_links will always fail due to:
 * No rate limitation for requests
 * Not being able to handle github links with anchors
2021-03-16 18:45:11 +08:00
Armando
01b5ef31b4 spi_slave: enable spi slave dual board test on esp32c3 2021-03-16 16:08:49 +08:00
Fu Hanxi
2229e3635f ci(UT): add argument "node_index" in UnitTestParser 2021-03-15 16:04:42 +08:00
Fu Hanxi
f8061a898e ci: build unit_test in parallel 2021-03-15 12:48:04 +08:00
Marius Vikhammer
c85d949c1f ci: run Example_GENERIC for C3
Add support for running example_GENERIC tests for C3 on label.

Fix examples that fail.
2021-03-15 10:27:07 +08:00
suren.gabrielyan
55716945a9 mdns: Removed freeRTOS dependancies from fuzzer tests 2021-03-11 08:57:36 +00:00
Renz Bagaporo
2fc86716cf ci: add ldgen test to custom test pattern 2021-03-11 11:59:31 +08:00
Angus Gratton
429ea0a1c1 Merge branch 'feature/riscv_ulp_s2_example_test' into 'master'
ci: RISCV-ULP example test

Closes IDF-2505

See merge request espressif/esp-idf!12397
2021-03-10 23:53:47 +00:00
Angus Gratton
e39b475af1 Merge branch 'feature/crypto_reserve_gdma_ch' into 'master'
aes/sha: use a shared lazy allocated GDMA channel for AES and SHA

Closes IDF-2856

See merge request espressif/esp-idf!12507
2021-03-09 23:44:26 +00:00
Marius Vikhammer
fe71a8e340 aes/sha: use a shared lazy allocated GDMA channel for AES and SHA
Removed the old dynamically allocated GDMA channel approach.
It proved too unreliable as we couldn't not ensure consumers of the mbedtls
would properly free the channels after use.

Replaced by a single shared GDMA channel for AES and SHA, which won't be
released unless user specifically calls API for releasing it.
2021-03-09 09:23:05 +08:00
Fu Hanxi
04357aa66e ci: add label only build tests for maintainers to control the flow 2021-03-08 10:12:22 +08:00
Fu Hanxi
934abd65f5 ci(docs): improve doc with latest behavior 2021-03-02 16:16:23 +08:00
Fu Hanxi
c7a856db88 ci: remove trigger with commit message method and make it simpler 2021-03-02 11:50:04 +08:00
Fu Hanxi
941574dc2f ci: use CI_MERGE_REQUEST_SOURCE_BRANCH in mr pipelines 2021-03-01 15:20:34 +08:00
Fu Hanxi
bbf2e86c06 fix(ci): check_submodule_sync now will not block ci run 2021-02-26 15:16:55 +08:00
Renz Bagaporo
e5b3824f61 ci: add example test for ulp_riscv example 2021-02-26 13:34:09 +08:00
KonstantinKondrashov
e29b99f1a5 libsodium: Enables UTs for ESP32-S2 & C3 2021-02-25 10:41:59 +00:00
Angus Gratton
608f9471cb Merge branch 'bugfix/test_nvs_host_cleanup' into 'master'
nvs_flash: Fix the random data test cleanup stage

Closes IDFCI-241

See merge request espressif/esp-idf!11659
2021-02-23 10:40:17 +00:00
Fu Hanxi
ef18e78a8d feat(ci): run check_submodule_sync_with_file_patterns 2021-02-23 12:43:52 +08:00
Angus Gratton
7fbf280d93 Merge branch 'ci/run_build_jobs_when_files_under_components_changed' into 'master'
CI: run build jobs when files under components changed

See merge request espressif/esp-idf!12442
2021-02-23 03:44:51 +00:00
Fu Hanxi
e59e245d47 ci(rules): improve rules with build files changed under components folder
- drop target test run with build pattern

- for unit_test on c3, use labels only
2021-02-23 11:32:17 +08:00
Angus Gratton
3b4706d14d ci: Increase test_nvs_on_host job timeout
test labels: nvs_coverage
2021-02-23 10:31:39 +11:00
Fu Hanxi
4ff16f6171 bugfix: deploy_test_result stop using pyenv 2021-02-22 20:44:11 +08:00
Fu Hanxi
06f92003a3 Merge branch 'ci/run_rules_labels_only_with_labels' into 'master'
ci: run rules:labels jobs only with labels

Closes IDFCI-454

See merge request espressif/esp-idf!12427
2021-02-22 03:41:34 +00:00
Fu Hanxi
c49a72b499 ci: run rules:labels job only with labels 2021-02-20 10:41:54 +08:00
Fu Hanxi
7742f1e135 ci(docs): fix missing build doc for target esp32c3 2021-02-19 17:43:07 +08:00
Fu Hanxi
4c1fca4a77 ci(rules): improve docs related jobs rules
- build_docs_pdf: now ignore docs related file patterns

- deploy_docs_preview: now ignore docs related file patterns

- .rules:build:docs: related jobs will not be triggered with `build` label
2021-02-19 17:28:09 +08:00
Fu Hanxi
2399128500 ci: improve docs pattern from Kconfig to Kconfig*
for example: Kconfig.spiram.common will now be included
2021-02-19 17:09:51 +08:00
Fu Hanxi
0c57d1fef1 ci: update codeowner for new ci configs path 2021-02-19 09:59:43 +08:00
Fu Hanxi
bb1be1e07e ci(rules): add missing scripts under tools folder 2021-02-19 09:59:43 +08:00
Fu Hanxi
516ac9a813 ci: allow failure for code quality report 2021-02-19 09:59:43 +08:00
Angus Gratton
9830fcaff9 Merge branch 'bugfix/c3_unit_test_cleanup' into 'master'
System: C3 shared stack watchpoint & unit test cleanups

Closes IDF-2458, IDF-2719, and IDF-1422

See merge request espressif/esp-idf!12183
2021-02-18 23:15:53 +00:00
Ivan Grokhotkov
3bce823523 Merge branch 'ci/mr_labels_regex_includes_more_chars' into 'master'
ci: supports more special characters for MR labels

See merge request espressif/esp-idf!12404
2021-02-18 10:33:55 +00:00
Ivan Grokhotkov
6e4eb981b8 Merge branch 'bugfix/deploy_test_result_no_need_python_env' into 'master'
ci: no setup_python for deploy_test_result

See merge request espressif/esp-idf!12394
2021-02-18 10:33:31 +00:00
Marius Vikhammer
eec2419390 system: enable shared stack watchpoint
Enable shared stack watchpoint for overflow detection

Enable unit tests:
 * "test printf using shared buffer stack" for C3
 * "Test vTaskDelayUntil" for S2
 * "UART can do poll()" for C3
2021-02-18 15:38:30 +08:00
Fu Hanxi
43668cf79f ci: supports more special characters for MR labels 2021-02-18 14:25:48 +08:00
Fu Hanxi
24e8109cc3 ci: no setup_python for deploy_test_result 2021-02-17 00:45:06 +08:00
Fu Hanxi
a01b6c0382 ci: run all static code analysis jobs when the gitlab yaml changes 2021-02-17 00:31:08 +08:00
Fu Hanxi
1f12eaf6ea ci: ensure clang_tidy_deploy artifacts downloaded 2021-02-17 00:17:33 +08:00
Ivan Grokhotkov
22cc1121fb Merge branch 'ci/detect_file_changes_to_assign_jobs' into 'master'
CI: Detect file changes to assign jobs

See merge request espressif/esp-idf!10652
2021-02-16 11:08:17 +00:00
Fu Hanxi
611fe8794b ci: move doc build jobs into build_doc stage to run in parallel 2021-02-10 14:50:07 +08:00
Fu Hanxi
fea3939980 docs(ci): add docs about rules.yml and the auto-generate feature 2021-02-10 14:50:07 +08:00
Fu Hanxi
b24b06d16c ci(rules): auto generate rules.yml labels titles and rules
Also simplified the labels and ci

- Remove label regular_test, weekend_test

- Remove apply_job_filter

- check_submodule_sync: only run on protected branch
2021-02-10 14:50:06 +08:00
Fu Hanxi
8ff6461b4c ci(rules): add check_tools_file_patterns.py
this file is used to check if all files under `tools` folder are
recorded in patterns or in exclude list
2021-02-10 14:48:51 +08:00
Fu Hanxi
b33e344484 ci: move config dir to .gitlab/ci 2021-02-10 14:48:51 +08:00
daiziyan
2e3367b97e update api-guides/build-system.rst to keep EN and CN in sync 2021-01-13 19:23:30 +08:00
Dai Zi Yan
d490376f37 docs: add checklist for updating get-started section into merge request template 2021-01-12 17:46:15 +08:00
Angus Gratton
5c49987bf6 Merge branch 'feature/template_add_ci' into 'master'
Add pipeline related requirements into the Gitlab MR template

See merge request espressif/esp-idf!10800
2020-11-13 18:40:07 +08:00
Fu Hanxi
bcc8f2628c CI: Add pre-commit for esp-idf project.
add tools/ci/python_packages/idf_ci.py for some util functions used in
ci and needs multi-os solution
2020-11-02 15:49:13 +08:00
Renz Bagaporo
988be69466 esp_hw_support: create component 2020-10-28 07:21:29 +08:00
Ivan Grokhotkov
5cdb973ee0 gitlab: add esp_pm component to CODEOWNERS 2020-10-15 07:58:27 +00:00
Roland Dobai
ed8f1aedf2 Add pipeline related requirements into the Gitlab MR template 2020-10-12 11:48:07 +02:00
Ivan Grokhotkov
042d66dbce gitlab: add hal component to CODEOWNERS 2020-09-25 12:47:48 +02:00
Michael (XIAO Xufeng)
4152904b10 gitlab: add template for merge requests 2020-09-23 10:52:08 +08:00
Ivan Grokhotkov
00c3e0e8ec codeowners: fix directory patterns
The previous version used an incorrect /dir1/dir2 pattern to match the
content of dir2. The correct pattern should be /dir1/dir2/ (with the
trailing slash). This commit fixes these patterns.

Regarding codeowners.py:

'git ls-files' can not be used to correctly implement the logic of
CODEOWNERS file patterns, since it doesn't distinguish between
/path/* and /path/. The former pattern in CODEOWNERS file should only
match the files inside /path/, while the latter also matches files in
nested directories.

Because of this, the logic for evaluating patterns is re-implemented,
by converting CODEOWNERS patterns into regular expressions.
Gitlab CODEOWNERS parsing code was used as a reference, in addition to
the approach for converting glob patterns into regular expressions
proposed in https://stackoverflow.com/a/29354254.
2020-09-15 11:10:36 +02:00
Ivan Grokhotkov
c23a9d91d8 add code owners list 2020-09-02 18:04:27 +02:00