Commit Graph

178 Commits

Author SHA1 Message Date
Sonika Rathi
ab4ab45d8a Merge branch 'bugfix/add_warning_for_unsupported_targets' into 'master'
fix(example/storage): Add warning for unsupported targets for SD_Card example

See merge request espressif/esp-idf!25702
2023-09-07 17:42:23 +08:00
Chen Jichang
5ea4df682e feat(esp_lcd): updated lvgl example to loading image from file system
which can help to reduce the firmware bin size
2023-09-06 14:53:24 +08:00
sonika.rathi
2162a132f1 fix(example/storage): Add warning for unsupported targets for SD_Card example 2023-09-04 08:59:51 +02:00
Armando
7dbd3f6909 feat(ci): Enable p4 example, test_apps and unit tests CI build 2023-08-24 12:51:19 +08:00
Adam Múdry
ae34457e81 Merge branch 'feature/perf_monitor_example' into 'master'
storage: add performance test example

Closes IDF-3607

See merge request espressif/esp-idf!24327
2023-08-16 17:37:49 +08:00
Adam Múdry
e7b88a52d1 feat(examples): Add storage IO speed benchmark example
New example which can benchmark IO speed of SPI flash partition
(raw, FATFS, SPIFFS) and SD card (raw, FATFS) connected via SPI and SDMMC.
2023-08-15 18:47:38 +02:00
Adam Múdry
b988242b07 feat(examples): Add storage/nvsgen example
Showcases the use of `nvs_create_partition_image` CMake function
Remove mentions of NVS multipage blob version 1 so it's not encouraged
2023-08-04 11:48:02 +02:00
sonika.rathi
c9b2b03d3d feat(example/storage/littlefs): add LittleFS demo example 2023-07-21 11:08:01 +02:00
Martin Vychodil
53f680d0c1 Merge branch 'fix/sdcard_example_blocker' into 'master'
CI: fix sdcard examples timeout

Closes IDFCI-1696, IDFCI-1683, IDFCI-1684, and IDFCI-1687

See merge request espressif/esp-idf!23410
2023-04-26 16:33:53 +08:00
Adam Múdry
b87b58da57 CI: fix sdcard examples timeout 2023-04-24 16:44:01 +02:00
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00: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
Adam Múdry
16915556a3 fatfs: fstat - enable setting a custom preferred block size
Enables setting a custom st_blksize in fatfs vfs fstat function.
Directly affects file buffer size for fatfs.
Increasing the value helps with fread and fgets speeds, however increases heap usage.
Added info to docs about improving I/O performance.
2023-03-08 09:09:47 +01:00
Armando
83d0181a2c sdspi: h2 support 2023-02-27 14:39:06 +08:00
Armando
90a6018e67 fatfs: added an API to format FAT on sdcard 2023-02-16 14:17:51 +08:00
Armando
4150bfb403 fatfs: added an API to format FAT on spiflash 2023-02-16 12:19:35 +08:00
Cao Sen Miao
94120b82c2 esp32h2: add build test 2023-01-17 10:29:04 +08:00
morris
69dd3839ce Merge branch 'feature/c6_sdspi_host' into 'master'
sdspi: bringup sdspi on c6

Closes IDF-5860

See merge request espressif/esp-idf!21681
2022-12-21 14:07:56 +08:00
Armando
2b14a4e93e sdspi: bringup sdspi on c6 2022-12-19 16:33:50 +08:00
Angus Gratton
d89652b382
build system: Add idf_component_add_link_dependency function, use for spi_flash overriding 2022-12-16 16:26:44 +01:00
Martin Vychodil
732b76e3a0 Merge branch 'bugfix/nvs_cxx_example' into 'master'
nvs_flash: fixed wrong error check after open_nvs_handle in example

Closes IDFGH-8809

See merge request espressif/esp-idf!21269
2022-12-14 17:17:59 +08:00
Fu Hanxi
dc3c630919 ci: move more openocd scripts into pytest-embedded 2022-12-08 14:25:02 +08:00
Fu Hanxi
67cd264535 pytest: check duplicates test case/script names 2022-12-08 09:49:12 +08:00
Jakob Hasse
ec986651db bugfix(nvs_flash): fixed wrong error check after open_nvs_handle
Closes https://github.com/espressif/esp-idf/issues/10240
2022-12-01 18:05:56 +01:00
Song Ruo Jing
7466ddfa8c ci: Make consistence between pytest_*.py and .build-test-rules.yml for esp32c6 (i.e. to pass check_test_scripts_build_test_rules.py) 2022-11-28 11:58:30 +08:00
Armando
aba9f80cd2 partition: use esp_partition_munmap instead of spi_flash_munmap 2022-11-09 20:15:17 +08:00
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Martin Vychodil
c9c7573f71 Storage: Partition APIs moved to the new component 'esp_partition'
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
2022-11-02 21:54:45 +01:00
Song Ruo Jing
2557e24a28 ci: Enable esp32c6 example, test_apps, and unit tests CI build stage 2022-11-01 11:23:21 +08:00
Ivan Grokhotkov
23e1ae1bc2
storage: fix and re-enable -Wformat warnings 2022-10-06 16:16:32 +02:00
Martin Vychodil
7d28abae4e Merge branch 'feature/sdcard_custom_freq' into 'master'
[Storage] Enable SD card custom frequency setup

Closes IDFGH-7089

See merge request espressif/esp-idf!19038
2022-09-23 17:45:30 +08:00
harshal.patil
b95decd465 parttool: added tests to check the external interface (parsing) of the parttool commands
The existing tests detect errors in the internal interface (eg. parttool read-write functions) and did not check for any possible breakages in the args parsing of the parttool commands.
2022-09-20 11:28:55 +05:30
Martin Vychodil
56f2001317 sdmmc/sdspi: allow custom setup of SD card frequency
In order to allow flexible setup of SD card frequency, sdmmc_host_t.max_freq_khz is used as a limit

Closes https://github.com/espressif/arduino-esp32/issues/6225
2022-09-12 17:08:36 +02:00
Ivan Grokhotkov
e596c84d49 build system: re-add -Wno-format as private flag for some example components 2022-08-03 16:42:47 +04:00
Martin Gaňo
2ddcda29b3 fatfsparse.py: Add support for WL 2022-07-26 14:50:07 +02:00
radek.tandler
3271088428 storage examples migrated to pytest 2022-07-22 10:23:53 +02:00
Fu Hanxi
c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Fu Hanxi
05d2357062 feat: use standalone project idf-build-apps for find/build apps utils 2022-07-14 08:26:31 +08:00
Cao Sen Miao
a690a87829 spi_flash: Remove legacy spi_flash drivers 2022-07-01 11:01:34 +08:00
Matus Fabo
384d61f156 remove: sdspi_host deprecated api
add: migration guide documentation
2022-06-12 20:07:27 +00:00
Michael (XIAO Xufeng)
f7be540222 ci: partially enable example build for esp32c2 2022-06-02 14:17:31 +08:00
Djordje Nedic
facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Martin Vychodil
b682527c60 Merge branch 'feature/ext_flash_fatfs_update' into 'master'
fatfs: add new ESP32 targets to external flash example

Closes IDF-3621

See merge request espressif/esp-idf!17371
2022-05-18 16:43:52 +08:00
Adam Múdry
e5cff100b7 fatfs: add new ESP32 targets to external flash example 2022-05-12 18:57:10 +00:00
Ivan Grokhotkov
27e1490bfc
examples: sd_card: fix example test not getting the expected name
SD card example prints the line which looks like:

   Name: 00000

If only part of the line is received, the regular expression in the
test still matches, and partial name is obtained. Later the example
test expects to see the same name in the file read from the SD card.
This check fails, because only partial name was received earlier.

Fix by adding a CR to the regular expression so that the entire name
is matched.
2022-05-11 21:50:11 +02:00
Erhan Kurubas
ad078c5153 semihosting: drop absolute path support 2022-05-05 09:12:42 +00:00
Cao Sen Miao
4418a855ba spi_flash: refactor the spi_flash clock configuration, and add support for esp32c2 2022-04-26 15:22:37 +08:00
Matus Fabo
24268d47a2 change: renamed FATFS convenience mounting functions
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
Adam Múdry
36db6a6681 spiffs: Add esp_spiffs_check() function
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00