mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 06:34:34 +02:00
feat(storage/fatfs): restructure ext_flash example
This commit is contained in:
committed by
Tomas Rohlinek
parent
587290567d
commit
33788de979
@@ -19,21 +19,6 @@ examples/storage/emmc:
|
||||
- if: IDF_TARGET == "esp32s3"
|
||||
reason: only support on esp32s3
|
||||
|
||||
examples/storage/ext_flash_fatfs:
|
||||
depends_components:
|
||||
- fatfs
|
||||
- vfs
|
||||
- spi_flash
|
||||
- driver
|
||||
disable:
|
||||
- if: IDF_TARGET in ["esp32p4", "esp32c5", "esp32c61"]
|
||||
temporary: true
|
||||
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8715, [ESP32C61] IDF-9314
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32"]
|
||||
temporary: true
|
||||
reason: lack of runners
|
||||
|
||||
examples/storage/nvs_rw_blob:
|
||||
depends_components:
|
||||
- nvs_flash
|
||||
|
@@ -1 +0,0 @@
|
||||
idf_component_register(SRCS "ext_flash_fatfs_example_main.c")
|
@@ -7,3 +7,18 @@ examples/storage/fatfs:
|
||||
disable_test:
|
||||
- if: IDF_TARGET != "esp32"
|
||||
reason: only one target needed
|
||||
|
||||
examples/storage/fatfs/ext_flash:
|
||||
depends_components:
|
||||
- fatfs
|
||||
- vfs
|
||||
- spi_flash
|
||||
- driver
|
||||
disable:
|
||||
- if: IDF_TARGET in ["esp32p4", "esp32c5", "esp32c61"]
|
||||
temporary: true
|
||||
reason: not supported on p4 and c5 # TODO: [ESP32C5] IDF-8715, [ESP32C61] IDF-9314
|
||||
disable_test:
|
||||
- if: IDF_TARGET not in ["esp32"]
|
||||
temporary: true
|
||||
reason: lack of runners
|
||||
|
1
examples/storage/fatfs/ext_flash/main/CMakeLists.txt
Normal file
1
examples/storage/fatfs/ext_flash/main/CMakeLists.txt
Normal file
@@ -0,0 +1 @@
|
||||
idf_component_register(SRCS "fatfs_ext_flash_example_main.c")
|
@@ -1,3 +1,8 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
/* Example of FAT filesystem on external Flash.
|
||||
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
||||
|
@@ -1,7 +1,5 @@
|
||||
# SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
@@ -1023,7 +1023,6 @@ examples/security/flash_encryption/main/flash_encrypt_main.c
|
||||
examples/storage/custom_flash_driver/components/custom_chip_driver/chip_drivers.c
|
||||
examples/storage/custom_flash_driver/components/custom_chip_driver/spi_flash_chip_eon.c
|
||||
examples/storage/custom_flash_driver/main/main.c
|
||||
examples/storage/ext_flash_fatfs/main/ext_flash_fatfs_example_main.c
|
||||
examples/storage/nvs_rw_blob/main/nvs_blob_example_main.c
|
||||
examples/storage/nvs_rw_value/main/nvs_value_example_main.c
|
||||
examples/storage/nvs_rw_value_cxx/main/nvs_value_example_main.cpp
|
||||
|
Reference in New Issue
Block a user