Commit Graph

930 Commits

Author SHA1 Message Date
Marek Fiala
8ad3c8ca1f refactor(tools): Run build system pytest on macos 2023-08-31 12:54:19 +02:00
Marek Fiala
7d2d8b7839 refactor(tools): Remove test_build_system_cmake.sh & test_build_system_spaces.py 2023-08-31 12:54:19 +02:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Fu Hanxi
3f8400ef7c ci: add esp32 ethernet custom test 2023-08-22 16:36:25 +02:00
Fu Hanxi
5e4427ab13
ci(pytest): add plugin pytest-ignore-test-results
pass with warning if test job got ignored.
2023-08-18 10:50:18 +08:00
Fu Hanxi
7908d04fdb Merge branch 'ci/use_pylint_3.8' into 'master'
ci: pylint with codeclimate

Closes IDFCI-1727

See merge request espressif/esp-idf!25283
2023-08-17 12:04:45 +08:00
Marius Vikhammer
0459e23da8 Merge branch 'ci/increase_h2_build_concurrency' into 'master'
ci(build): increase parallel count for H2 builds

See merge request espressif/esp-idf!25298
2023-08-16 17:22:04 +08:00
Michael (XIAO Xufeng)
026c155c9c Merge branch 'feat/compatibility_revisions' into 'master'
doc: add documentation for compatibility between IDF version and chip revision

See merge request espressif/esp-idf!23973
2023-08-16 15:09:32 +08:00
Marius Vikhammer
27baef2424 docs(esp32p4): added building docs for ESP32-P4 2023-08-16 10:13:47 +08:00
Fu Hanxi
e458a7a45c
ci: run pylint for files endswith .py, and skip run when no files matched 2023-08-15 08:31:46 +08:00
Fu Hanxi
28c9953ffe
ci: pylint with codeclimate 2023-08-15 08:31:45 +08:00
Xiao Xufeng
d0dcf2da00 doc: add documentation for compatibility between IDF version and chip revision 2023-08-14 17:34:16 +08:00
Marius Vikhammer
b3eef7fb7f ci(docs): allow doc build to run immediately after fast template app 2023-08-11 10:40:21 +08:00
Armando (Dou Yiwen)
337aeb4b78 Merge branch 'feature/add_esp32p4_hello_world' into 'master'
esp32p4: introduced new chip ESP32P4: Hello World! 🌏

Closes IDF-7523

See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Marius Vikhammer
7f2654e309 ci(build): increase parallel count for H2 builds 2023-08-10 14:23:48 +08:00
Michael (XIAO Xufeng)
3ca6b4e4a5 Merge branch 'ci/danger_js_release_notes_comments' into 'master'
ci(dangerjs): fixed html comments not ignored issue

See merge request espressif/esp-idf!25159
2023-08-10 04:19:26 +08:00
Armando
706d684418 feat(esp32p4): introduced new target esp32p4, supported hello_world 2023-08-09 19:33:25 +08:00
Michael (XIAO Xufeng)
140dbda421 ci(dangerjs): fixed html comments not ignored issue
Fixed issues:

1. Always produce a warning caused by the pre-inserted blank line.
2. Line started by other character but contains bullet treated as valid
   entry
3. No release note entry hidden in the html comment still recognized.
2023-08-09 17:16:22 +08:00
Fu Hanxi
60db076a96
ci: add pre-commit to cleanup ignore lists 2023-08-09 12:09:31 +08:00
Armando
3fdddc2f1b change(ci): enable esp32p4 check public header 2023-08-04 14:13:59 +02:00
Chen Yu Dong
ad84b8f4b4 Merge branch 'ci/add_test_case_phy_tsens' into 'master'
ci: add new test tsens phy coexist

See merge request espressif/esp-idf!24298
2023-08-03 11:17:34 +08:00
Xu Si Yu
36511a3005 Merge branch 'feature/add_sleep_test_for_ot_ci' into 'master'
OpenThread CI: add a test case of sleepy device

See merge request espressif/esp-idf!24715
2023-08-01 20:38:29 +08:00
Abhik Roy
68863b7116 Merge branch 'examples/vlan_napt_pytest' into 'master'
examples: Added napt pytest with vlan example.

See merge request espressif/esp-idf!22906
2023-08-01 20:23:03 +08:00
Tomas Sebestik
2bd570c93b ci(danger/precommit): Update incorrect scope message in commit message Danger check
Updated ' hook version
2023-08-01 07:39:07 +02:00
Abhik Roy
ef50beb4d0 ci: Added napt pytest with vlan example
CI: add vlan example to ethernet patterns
Included a Pytest for the vlan_support example, which focuses on testing
the NAPT module in lwip by forwarding packets between different VLAN interfaces.
2023-07-31 13:42:26 +00:00
Xu Si Yu
5f51dcc686 ci(openthread): Add a test case for openthread sleepy device 2023-07-31 15:38:11 +08:00
Chen Yudong
fe1b03308e ci(tsens): add new test tsens phy coexist 2023-07-31 12:13:24 +08:00
Xiao Xufeng
1c945b88d3 ci: add more dangerjs check for release notes 2023-07-27 01:58:59 +08:00
Chen Yu Dong
92db3563a0 Merge branch 'ci/add_new_wifi_ap_runners' into 'master'
ci(wifi): add more wifi runners

See merge request espressif/esp-idf!24931
2023-07-26 20:27:01 +08:00
Chen Yudong
9aa23a4320 ci(wifi): add more wifi runners
sockets: add ipv6 only test
2023-07-24 18:09:55 +08:00
Harshit Malpani
7645723127
fix(ci): update HTTP client example tests runner assignment
HTTP client example tests now connect with locally hosted httpbin service
for more stable results across multiple runs
2023-07-21 10:55:25 +05:30
Chen Yu Dong
5c215405a4 Merge branch 'ci/add_patterns_for_fast_template_job' into 'master'
Ci: add patterns for fast template job

See merge request espressif/esp-idf!24820
2023-07-20 10:40:06 +08:00
Fu Hanxi
f5984d482a
ci: fix skipping qemu test always 2023-07-19 12:02:59 +08:00
Fu Hanxi
e872b69c12
ci: show mr.env env file 2023-07-19 11:50:53 +08:00
Chen Yudong
2c22b74479 ci(rules): add patterns fast template app
Update pre-check job rules
2023-07-18 11:21:24 +08:00
Ondrej Kosta
3e97f81727 Merge branch 'bugdix/lwip_bridge_ci_err' into 'master'
Fix lwip bridge CI error

See merge request espressif/esp-idf!24718
2023-07-14 16:51:19 +08:00
Shu Chen
5ffeff55b4 Merge branch 'zigbee/Add_pytest_in_CI' into 'master'
ci(zigbee): Add pytest for esp32h2 in CI

See merge request espressif/esp-idf!23779
2023-07-13 23:24:55 +08:00
Marius Vikhammer
4c39c6db72 Merge branch 'ci/allow_failure_qemu' into 'master'
ci(qemu): temporarily allow qemu tests to fail

See merge request espressif/esp-idf!24759
2023-07-13 17:06:09 +08:00
morris
84a680b057 Merge branch 'origin/feature/esp_lcd_panel_init_result_check' into 'master'
fix(esp_lcd): Check the result of each esp_lcd_panel_io_tx_param/esp_lcd_panel_io_tx_color call

Closes IDFGH-10494

See merge request espressif/esp-idf!24604
2023-07-13 15:40:54 +08:00
Abudl Rehman
a4ddf7d5f7 ci(zigbee): Add pytest for esp32h2 in CI 2023-07-13 15:15:33 +08:00
Marius Vikhammer
91aaf8b1a0 ci(qemu): temporarily allow qemu tests to fail 2023-07-13 11:16:38 +08:00
Planck (Lu Zeyu)
c190beb4d9 bugfix(esp_lcd): propagate the errors in the IO link layer
Closes https://github.com/espressif/esp-idf/issues/11741
Check the result of each esp_lcd_panel_io_tx_param/esp_lcd_panel_io_tx_color call
Add runner and modify test rules
Update .build-test-rules.yml
2023-07-13 10:23:05 +08:00
Ondrej Kosta
c7d56d213c ci(examples/bridge): Fixed issue when broadcast message was not recevived time to time 2023-07-12 12:30:23 +02:00
Fu Hanxi
537bd3efec
ci: enable check app dependency for qemu and linux tests 2023-07-11 15:32:57 +08:00
Jakob Hasse
5c49211e45 ci: set codeowners of linux_compatible dir to system 2023-07-10 10:55:16 +08:00
Chen Yudong
6454c32616 ci(artifacts): upload build logs when build ssc failed 2023-06-30 06:35:05 +00:00
Tomas Sebestik
c59d4e15ff docs(contributor_guide): Update install pre-commit instructions 2023-06-29 15:05:58 +02:00
Tomas Sebestik
b4c84e09e2 ci(danger): Change commit message default rules
- maximum length of commit message summary 72 characters (before 50)
- drop rule for commit message summary to start with capital letter
- AI generated commit message only for poor messages
- updated version of pre-commit hook 'conventional-precommit-linter'
- update prompt AI generated commit message
2023-06-29 13:34:08 +02:00
Tomas Sebestik
d8c787ab4a ci(danger): Add check for conventional commits
Add DangerJS check for convetional commit style.

Add conventional-precommit-linter hook
https://github.com/espressif/conventional-precommit-linter
2023-06-21 09:54:47 +02:00
Zim Kalinowski
8fe961b3ff console: enable qemu tests 2023-06-20 09:37:39 +02:00
Frantisek Hrbata
925bc17cd0 tools: add sbom information for submodules
This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.

The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:

sbom-version:
   submodule version

sbom-cpe:
   CPE record if available in NVD. This will be used by the SBOM
   tool to check for possible submodule vulnerabilities. The
   version in the CPE can be replaced with the "{}" placeholder,
   which will be replaced by the "sbom-version" value from above.

sbom-supplier:
   Person or organization who is providing the submodule.
   It has to start with "Person:" or "Organization:" prefix
   as required by the SPDX-2.2 standard.

sbom-url:
   URL to the project if exists, e.g. github.

sbom-description:
   Project description.

sbom-hash:
   Submodule SHA as recorded in the git-tree. This field is used by
   CI to check that the submodule checkout hash and info in .gitmodules
   are in sync. IOW if submodule is updated and it has SBOM info in
   .gitmodules, the .gitmodules has to be updated too. The test is
   part of this commit. The checkout has of the submodule can be found
   by using "git submodule status".

Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
	path = components/bootloader/subproject/components/micro-ecc/micro-ecc
	url = ../../kmackay/micro-ecc.git
	sbom-version = 1.0
	sbom-cpe = cpe:2.3🅰️micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
	sbom-supplier = Person: Ken MacKay
	sbom-url = https://github.com/kmackay/micro-ecc
	sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
	sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-06 15:01:08 +02:00
Fu Hanxi
a58aed1187 Merge branch 'ci/fix_multi_needs_test_cases_skipped_issue' into 'master'
ci: fix duplicated names for generated built app list

See merge request espressif/esp-idf!24034
2023-06-06 11:24:39 +08:00
Fu Hanxi
4ff9ed5971 ci: fix duplicated names for app list issue 2023-06-05 10:19:11 +08:00
Fu Hanxi
82d78c7c7d ci: fix update_sha_in_esp-dockerfiles rules 2023-06-02 10:49:14 +08:00
Fu Hanxi
a17abe169b ci: fix regexes 2023-05-31 21:35:47 +08:00
Fu Hanxi
3c8a782113 Merge branch 'ci/build_test_apps_according_to_required_components' into 'master'
CI: build test apps according to `requires_components` in `.build-test-rules.yml`s

Closes IDFCI-1651

See merge request espressif/esp-idf!22633
2023-05-31 09:05:38 +08:00
Tomas Sebestik
7add582eb7 ci(danger): add dangerjs for GitHub
Add GitHub workflow for running dangerjs on pull requests.
Add GitHub layout for DangerJS.
2023-05-29 08:23:04 +02:00
Fu Hanxi
ac7e51903a ci: remove unused jobs and patterns 2023-05-26 22:59:57 +08:00
Fu Hanxi
2ad2e3cb04 ci(ccs811): use manifest file instead of patterns in rules.yml 2023-05-26 22:59:57 +08:00
Fu Hanxi
22e2738f78 ci: build and test only modified components related test cases 2023-05-26 22:59:57 +08:00
Ivan Grokhotkov
cbf460c2e1 Merge branch 'feat/defince_config_dependabot' into 'master'
ci(github): add dependabot config

See merge request espressif/esp-idf!23468
2023-05-26 14:58:37 +08:00
Chen Yudong
40b61681be CI: add CI job component ut esp32s3 quad psram 2023-05-25 16:57:27 +08:00
Chen Jian Xing
7121ec0f63 Merge branch 'feat/support_legacy_cmd' into 'master'
example: support legacy PHY command in cert_test

Closes WIFI-5798

See merge request espressif/esp-idf!23412
2023-05-25 10:44:37 +08:00
alanmaxwell
2d072ab141 example: support legacy PHY commands in cert_test 2023-05-24 18:58:49 +08:00
Mahavir Jain
d00e7b5af8 Merge branch 'feature/nvs_encryption_using_hmac_v2' into 'master'
nvs_flash: Add support for HMAC-based encryption key derivation scheme

Closes IDF-6727

See merge request espressif/esp-idf!23079
2023-05-23 23:57:26 +08:00
Laukik Hase
72f703ccd4
nvs_flash: Extended test-app and host tests for the HMAC-based NVS encr-keys protection scheme 2023-05-23 13:55:59 +05:30
Laukik Hase
8efe2f86e9
nvs_flash: Added helper component nvs_sec_provider
- For processing NVS encryption-related security configuration
2023-05-23 13:55:53 +05:30
Rahul Tank
310bb89b79 Merge branch 'bugfix/remove_python_examples_ttfw' into 'master'
Nimble:Removed files referring to old TTFW framework

See merge request espressif/esp-idf!23225
2023-05-23 16:25:40 +08:00
Alexey Lapshin
6a54c25823 esp_gdbstub: add tests for riscv jump instructions decoding 2023-05-19 20:15:58 +08:00
C.S.M
50b4d5c6be Merge branch 'ci/move_timer_into_unity' into 'master'
spi_flash: migrate spi_flash UT to pytest component test app

Closes IDF-6730

See merge request espressif/esp-idf!19709
2023-05-16 14:09:25 +08:00
Tomas Sebestik
8249d01ede ci(github): add dependabot config
- add dependabot config file
- ignore DangerJS dependecies from dependabot
2023-05-16 08:04:43 +02:00
Zim Kalinowski
bd1ac6a566 Merge branch 'feature/adds_esp_bootloader_desc_t' into 'master'
esp_bootloader_format: Adds bootloader description structure to read bootloader version from app

Closes IDFGH-7206 and IDFGH-7573

See merge request espressif/esp-idf!21592
2023-05-15 17:54:43 +08:00
Cao Sen Miao
36aace3f47 spi_flash: Move most tests in unit-test to pytest 2023-05-15 14:58:51 +08:00
Alexey Lapshin
0b078f5cd3 coredump: remove tests (moved to esp-coredump repo) 2023-05-11 12:13:52 +08:00
KonstantinKondrashov
69838403f9 esp_bootloader_format: Adds bootloader description structure to read bootloader version from app
Closes https://github.com/espressif/esp-idf/issues/8800
Closes https://github.com/espressif/esp-idf/issues/9132
2023-05-10 21:39:52 +08:00
Rahul Tank
7042eb7e64 Nimble: Removed files referring to old TTFW framework 2023-05-10 04:42:36 +00:00
David Cermak
b2af4d9689 lwip/linux: Add lwip support for networking component under linux
linux/lwip: Wrap some IO posix functions
* to workaourd the FreeRTOS EINTR issue (when building without lwip)
* to correctly choose the sub-system based on fd (when building with
lwip) -- passing control to either linux/system or to lwip
This commit also addapts tapio-if to provide DHCP client by default and
configurable settings for static IP
2023-05-05 05:03:39 +00:00
Tomas Sebestik
5aba440fc8 Merge branch 'dangerjs/openai_generate_commit_message' into 'master'
ci:danger: Add OpenAI generated commit message suggestion

Closes IDF-7166

See merge request espressif/esp-idf!23167
2023-05-02 13:31:40 +08:00
Radek Tandler
d8f2c0e715 Merge branch 'feature/storage_host_test_ffs' into 'master'
fatfs: host test migrated to CMake and esp_partition emulation for linux

See merge request espressif/esp-idf!23265
2023-04-25 15:30:09 +08:00
Cao Sen Miao
8882ba2ba1 CI: Move all UT in driver to test_app 2023-04-25 10:40:32 +08:00
radek.tandler
13a305656d host_test: cleanup of make based obsolete code in wl, fatfs and spi_flash 2023-04-21 10:45:17 +02:00
laokaiyao
1f84f6c6ed esp32h4: remove esp32h4 target from ci 2023-04-20 15:19:47 +08:00
Tomas Sebestik
504c348d73 ci(danger): add OpenAI generated commit message 2023-04-19 09:37:11 +02:00
Tomas Sebestik
129defda84 Merge branch 'dangerjs/cache_npm' into 'master'
ci(danger): Add DangerJS npm modules cache

See merge request espressif/esp-idf!23189
2023-04-19 15:13:57 +08:00
Armando
2225087756 emmc: temporarily removed esp32 emmc ut_017 2023-04-18 10:11:36 +08:00
Armando (Dou Yiwen)
ef64e4e5b3 Merge branch 'feature/emmc_example' into 'master'
SDMMC Host: added an example to communicate with an eMMC chip

Closes IDF-7157, IDF-4739, and IDFGH-6901

See merge request espressif/esp-idf!21760
2023-04-17 11:53:55 +08:00
Anton Maklakov
b7abcb52b6 Merge branch 'ci/create_esp-dockerfile_MR_after_tools.json_updated' into 'master'
CI: created job and script for creating MR to esp-dockerfiles, added script execution to CI pipeline

Closes IDFCI-1445

See merge request espressif/esp-idf!21348
2023-04-15 01:40:05 +08:00
Jiang Jiang Jian
c47d83cbcc Merge branch 'fix/update_codeowner_for_common_components' into 'master'
codeowner: update codeowner for common components

See merge request espressif/esp-idf!23066
2023-04-14 19:30:48 +08:00
Daniel Paul
b987b34829 CI: created script for creating MR to esp-dockerfiles, added script execution to CI pipeline 2023-04-14 13:29:08 +02:00
Armando
920ecff168 sdmmc: in/out phase adapted to esp32 and esp32s3 2023-04-14 18:18:54 +08:00
Armando
ad46b43c2c sdmmc: add an example communicating with eMMC chip on S3 2023-04-14 18:18:54 +08:00
Tomas Sebestik
1946f5c488 ci(danger): add DangerJS npm modules cache 2023-04-14 09:01:18 +02:00
Ondrej Kosta
066abb062d Merge branch 'feature/example_br_test' into 'master'
examples: added Ethernet bridge test

See merge request espressif/esp-idf!22558
2023-04-13 15:11:34 +08:00
Radek Tandler
d8b8ab5d43 Merge branch 'feature/wl_host_test_cmake' into 'master'
Storage: Migrate WL host test to CMake

See merge request espressif/esp-idf!23015
2023-04-13 13:16:57 +08:00
Marius Vikhammer
7d41c5b903 Merge branch 'ci/soc_caps_docs_build' into 'master'
ci: build all docs if soc_caps.h changed

See merge request espressif/esp-idf!23138
2023-04-13 10:49:12 +08:00
Marius Vikhammer
21c8a6d3f7 ci: build all docs if soc_caps.h changed
soc_caps.h is thightly coupled with the docs build. Should build all docs
after changing it to make sure nothing broke.
2023-04-13 09:39:53 +08:00
Roland Dobai
b30a357711 Merge branch 'ci/parallel_pytest_build_tests' into 'master'
CI: Split pytest build system tests into parallel jobs

Closes IDFCI-1680

See merge request espressif/esp-idf!23147
2023-04-12 16:57:44 +08:00
Ondrej Kosta
eb17a9d6e0 network_examples: added LwIP bridge test 2023-04-12 09:14:12 +02:00
Anton Maklakov
09ecb70cb8 Merge branch 'ci/keep_template_app_artifacts' into 'master'
ci: keep size.json artifacts from all template targets

See merge request espressif/esp-idf!23115
2023-04-12 14:44:54 +08:00
Roland Dobai
c3daa561a7 CI: Split pytest build system tests into parallel jobs 2023-04-11 17:36:29 +02:00