mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
Merge branch 'feature/update_strorage_test_config' into 'master'
feat(storage): update config for app tests Closes IDF-5552 See merge request espressif/esp-idf!26310
This commit is contained in:
commit
2beef95ff1
@ -1,117 +1,113 @@
|
|||||||
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
|
||||||
|
|
||||||
examples/storage/custom_flash_driver:
|
examples/storage/custom_flash_driver:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- spi_flash
|
||||||
temporary: true
|
- driver
|
||||||
reason: target esp32c2 is not supported yet
|
disable_test:
|
||||||
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
|
reason: only one target per arch needed
|
||||||
|
|
||||||
examples/storage/emmc:
|
examples/storage/emmc:
|
||||||
|
depends_components:
|
||||||
|
- sdmmc
|
||||||
|
- driver
|
||||||
|
- fatfs
|
||||||
|
- vfs
|
||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET == "esp32s3"
|
- if: IDF_TARGET == "esp32s3"
|
||||||
reason: only support on esp32s3
|
reason: only support on esp32s3
|
||||||
|
|
||||||
examples/storage/ext_flash_fatfs:
|
examples/storage/ext_flash_fatfs:
|
||||||
|
depends_components:
|
||||||
|
- fatfs
|
||||||
|
- vfs
|
||||||
|
- spi_flash
|
||||||
|
- driver
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET in ["esp32c2", "esp32c6", "esp32h2", "esp32p4"]
|
- if: IDF_TARGET == "esp32p4"
|
||||||
temporary: true
|
reason: not supported yet
|
||||||
reason: target(s) not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3"]
|
- if: IDF_TARGET not in ["esp32"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
examples/storage/fatfsgen:
|
examples/storage/fatfsgen:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- fatfs
|
||||||
temporary: true
|
- vfs
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
reason: only one target needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/nvs_rw_blob:
|
examples/storage/nvs_rw_blob:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- nvs_flash
|
||||||
temporary: true
|
- driver
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/nvs_rw_value:
|
examples/storage/nvs_rw_value:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- nvs_flash
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/nvs_rw_value_cxx:
|
examples/storage/nvs_rw_value_cxx:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- nvs_flash
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/nvsgen:
|
examples/storage/nvsgen:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- nvs_flash
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
reason: only one target needed
|
||||||
reason: lack of runners, should be same for every target
|
|
||||||
|
|
||||||
examples/storage/partition_api/partition_find:
|
examples/storage/partition_api/partition_find:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- esp_partition
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/partition_api/partition_mmap:
|
examples/storage/partition_api/partition_mmap:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- esp_partition
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/partition_api/partition_ops:
|
examples/storage/partition_api/partition_ops:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- esp_partition
|
||||||
temporary: true
|
- spi_flash
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/parttool:
|
examples/storage/parttool:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- partition_table
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
reason: only one target needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/perf_benchmark:
|
examples/storage/perf_benchmark:
|
||||||
|
depends_components:
|
||||||
|
- fatfs
|
||||||
|
- spi_flash
|
||||||
|
- vfs
|
||||||
|
- sdmmc
|
||||||
|
- spiffs
|
||||||
|
- wear_levelling
|
||||||
|
- esp_partition
|
||||||
|
- driver
|
||||||
disable:
|
disable:
|
||||||
- if: IDF_TARGET == "esp32p4" and CONFIG_NAME in ["sdmmc_1line", "sdmmc_4line", "sdspi_1line"]
|
- if: IDF_TARGET == "esp32p4" and CONFIG_NAME in ["sdmmc_1line", "sdmmc_4line", "sdspi_1line"]
|
||||||
temporary: true
|
temporary: true
|
||||||
@ -122,57 +118,59 @@ examples/storage/perf_benchmark:
|
|||||||
reason: SPIFLASH not supported on P4 yet, only build stage enabled # TODO: IDF-7499
|
reason: SPIFLASH not supported on P4 yet, only build stage enabled # TODO: IDF-7499
|
||||||
|
|
||||||
examples/storage/sd_card/sdmmc:
|
examples/storage/sd_card/sdmmc:
|
||||||
|
depends_components:
|
||||||
|
- vfs
|
||||||
|
- sdmmc
|
||||||
|
- driver
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_SDMMC_HOST_SUPPORTED != 1
|
- if: SOC_SDMMC_HOST_SUPPORTED != 1
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET == "esp32s3"
|
- if: IDF_TARGET not in ["esp32"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
examples/storage/sd_card/sdspi:
|
examples/storage/sd_card/sdspi:
|
||||||
|
depends_components:
|
||||||
|
- vfs
|
||||||
|
- sdmmc
|
||||||
|
- driver
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_GPSPI_SUPPORTED != 1
|
- if: SOC_GPSPI_SUPPORTED != 1
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s3", "esp32c2", "esp32c6", "esp32h2", "esp32p4"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
examples/storage/semihost_vfs:
|
examples/storage/semihost_vfs:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- vfs
|
||||||
temporary: true
|
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32c3", "esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: lack of runners
|
reason: lack of runners
|
||||||
|
|
||||||
examples/storage/spiffs:
|
examples/storage/spiffs:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- spiffs
|
||||||
temporary: true
|
- vfs
|
||||||
reason: target esp32c2 is not supported yet
|
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/spiffsgen:
|
examples/storage/spiffsgen:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- spiffs
|
||||||
temporary: true
|
- vfs
|
||||||
reason: target esp32c2 is not supported yet
|
- mbedtls
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET != "esp32"
|
||||||
temporary: true
|
reason: only one target needed
|
||||||
reason: lack of runners
|
|
||||||
|
|
||||||
examples/storage/wear_levelling:
|
examples/storage/wear_levelling:
|
||||||
disable:
|
depends_components:
|
||||||
- if: IDF_TARGET == "esp32c2"
|
- vfs
|
||||||
temporary: true
|
- wear_levelling
|
||||||
reason: target esp32c2 is not supported yet
|
- fatfs
|
||||||
disable_test:
|
disable_test:
|
||||||
- if: IDF_TARGET in ["esp32s2", "esp32s3", "esp32c6", "esp32h2"]
|
- if: IDF_TARGET not in ["esp32", "esp32c3"]
|
||||||
temporary: true
|
reason: only one target per arch needed
|
||||||
reason: lack of runners
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Custom Flash Driver Example
|
# Custom Flash Driver Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# FAT FS on External Flash example
|
# FAT FS on External Flash example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# FATFS partition generation example
|
# FATFS partition generation example
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "esp_vfs.h"
|
#include "esp_vfs.h"
|
||||||
#include "esp_vfs_fat.h"
|
#include "esp_vfs_fat.h"
|
||||||
#include "esp_system.h"
|
|
||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
|
|
||||||
#if CONFIG_EXAMPLE_FATFS_MODE_READ_ONLY
|
#if CONFIG_EXAMPLE_FATFS_MODE_READ_ONLY
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Non-Volatile Storage (NVS) Read and Write Example
|
# Non-Volatile Storage (NVS) Read and Write Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Non-Volatile Storage (NVS) Read and Write Example
|
# Non-Volatile Storage (NVS) Read and Write Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Non-Volatile Storage (NVS) C++ Read and Write Example
|
# Non-Volatile Storage (NVS) C++ Read and Write Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# NVS Partition Image Generation on Build Example
|
# NVS Partition Image Generation on Build Example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Finding Partitions Example
|
# Finding Partitions Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Partition Memory Map Example
|
# Partition Memory Map Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Partition Read, Write, Erase Example
|
# Partition Read, Write, Erase Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Partitions Tool Example
|
# Partitions Tool Example
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -10,7 +10,6 @@ from pytest_embedded import Dut
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.esp32c3
|
|
||||||
def test_examples_parttool(dut: Dut) -> None:
|
def test_examples_parttool(dut: Dut) -> None:
|
||||||
# Verify factory firmware
|
# Verify factory firmware
|
||||||
dut.expect('Partitions Tool Example')
|
dut.expect('Partitions Tool Example')
|
||||||
|
@ -52,8 +52,8 @@ def test_examples_perf_benchmark_sdcard_sdmmc(dut: Dut) -> None:
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.esp32s2
|
|
||||||
@pytest.mark.esp32c3
|
@pytest.mark.esp32c3
|
||||||
|
@pytest.mark.esp32s2
|
||||||
@pytest.mark.sdcard_spimode
|
@pytest.mark.sdcard_spimode
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'config',
|
'config',
|
||||||
|
@ -11,7 +11,6 @@ from pytest_embedded import Dut
|
|||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.esp32c3 # no runner available at the moment
|
@pytest.mark.esp32c3 # no runner available at the moment
|
||||||
@pytest.mark.esp32s2
|
|
||||||
@pytest.mark.sdcard_spimode
|
@pytest.mark.sdcard_spimode
|
||||||
def test_examples_sd_card_sdspi(dut: Dut) -> None:
|
def test_examples_sd_card_sdspi(dut: Dut) -> None:
|
||||||
dut.expect('example: Initializing SD card', timeout=20)
|
dut.expect('example: Initializing SD card', timeout=20)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Semihosting VFS driver example
|
# Semihosting VFS driver example
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include "esp_log.h"
|
#include "esp_log.h"
|
||||||
|
#include "esp_cpu.h"
|
||||||
#include "esp_vfs_semihost.h"
|
#include "esp_vfs_semihost.h"
|
||||||
|
|
||||||
static const char *TAG = "example";
|
static const char *TAG = "example";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
|
|
||||||
import os
|
import os
|
||||||
@ -24,7 +24,6 @@ def prepare() -> t.Generator[None, None, None]:
|
|||||||
shutil.rmtree(TEMP_DIR, ignore_errors=True)
|
shutil.rmtree(TEMP_DIR, ignore_errors=True)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
|
||||||
@pytest.mark.jtag
|
@pytest.mark.jtag
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
'embedded_services, no_gdb, openocd_cli_args',
|
'embedded_services, no_gdb, openocd_cli_args',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# SPIFFS example
|
# SPIFFS example
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# SPIFFS Image Generation on Build Example
|
# SPIFFS Image Generation on Build Example
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ from pytest_embedded import Dut
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.esp32
|
@pytest.mark.esp32
|
||||||
@pytest.mark.esp32c3
|
|
||||||
def test_spiffsgen_example(dut: Dut) -> None:
|
def test_spiffsgen_example(dut: Dut) -> None:
|
||||||
# Test with default build configurations
|
# Test with default build configurations
|
||||||
base_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'spiffs_image')
|
base_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'spiffs_image')
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Wear levelling example
|
# Wear levelling example
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user