Commit Graph

695 Commits

Author SHA1 Message Date
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
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
Chen Yudong
40b61681be CI: add CI job component ut esp32s3 quad psram 2023-05-25 16:57:27 +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
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
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
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
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
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
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
radek.tandler
0402874d3c host_test: wl migrated to Cmake and linux emulation of esp_partition
- build system changed to CMake
 - host tests changed to use partition api on linux instead of mocked code
 - extended wl flash host tests to cover power off recovery code
2023-04-11 16:16:53 +02:00
Fu Hanxi
a64d084eac ci: small cleanup for the dependencies.yml 2023-04-10 09:10:23 +08:00
Fu Hanxi
29bd34dcef ci: add pattern ccs811 2023-04-10 09:10:23 +08:00
Fu Hanxi
1be18d4bc5 ci: migrate peripherals ttfw test scripts 2023-04-10 08:46:42 +08:00
Marius Vikhammer
f29a897de6 ci: keep size.json artifacts from all template targets 2023-04-07 19:44:42 +08:00
Sachin Parekh
109afcb311 ci: Add patterns and target-tests for ecdsa_efuse runner 2023-04-07 14:56:37 +05:30
Fu Hanxi
d18b6ade6e ci: increase concurrency number of build_pytest_components_esp32h2 2023-04-07 12:29:30 +08:00
Fu Hanxi
c9741e8100 ci: remove target test unused jobs 2023-04-07 12:29:30 +08:00
Fu Hanxi
c8064d0b2e ci: rename target test jobs names 2023-04-07 12:29:30 +08:00
Fu Hanxi
d036edfe1b ci: move tools/test_apps build jobs into one 2023-04-07 12:29:30 +08:00
Fu Hanxi
01fd87bd05 ci: remove ttfw related info in tools/test_apps 2023-04-07 12:29:30 +08:00
Chen Yudong
8f2a230c2f CI: enable build ssc esp32h2 2023-04-06 13:12:27 +08:00
Marius Vikhammer
79b92b8576 Merge branch 'ci/granular_doc_build' into 'master'
docs: add a more granular trigger for build docs jobs

See merge request espressif/esp-idf!22632
2023-03-29 11:28:18 +08:00