Fu Hanxi
b47f9850c7
ci: apply common-scripts CI refactor
...
Squashes these original commits for release/v5.4 backport traceability:
- 9b289dc5ad6 ci: apply idf-ci 1.x
- 381df980d57 ci: remove pip-cache and other unused jobs
- 32375a0a15e ci: apply common-scripts CI refactor
2026-08-17 14:13:15 +02:00
sonika.rathi
c58750cf56
fix(spiffs): shorten obj_name_len guard comment
2026-07-17 13:03:57 +02:00
yi chen
16e5797ad3
fix(spiffs): fix off-by-one in spiffsgen.py obj name length check
...
SpiffsFS.create_file() rejected names only when strictly longer than
obj_name_len, but CONFIG_SPIFFS_OBJ_NAME_LEN's documented semantics
(see components/spiffs/Kconfig) are that the length includes the
zero-termination character, so the maximum number of actual name
characters is obj_name_len - 1.
With the old check, a name exactly obj_name_len characters long was
accepted. SpiffsObjIndexPage.to_binary() then computes the NUL padding
after the name as (obj_name_len - len(name)), which is 0 in that case,
so the generated image's fixed-size name field ends up with no NUL
terminator anywhere in its reserved region.
Fix the boundary so the generator enforces the same maximum length
that the Kconfig help text documents.
2026-07-17 13:03:57 +02:00
sonika.rathi
a2146843ce
fix(storage): mark storage pytest apps flaky in CI
2026-05-21 19:54:07 +02:00
Jiang Jiang Jian
5fff58de41
Merge branch 'update/spiffs_sync_upstream_5.4' into 'release/v5.4'
...
change(spiffs): upgrade spiffs module to 0.2-265-gad902ca version (v5.4)
See merge request espressif/esp-idf!45971
2026-03-15 13:05:10 +08:00
Evgeny Torbin
f7395255da
test: format all test scripts
2026-03-11 07:34:34 +01:00
sonika.rathi
527b48a145
change(spiffs): upgrade spiffs module to 0.2-265-gad902ca version
...
Closes https://github.com/espressif/esp-idf/issues/18214
2026-02-20 11:46:53 +01:00
Augusto Zanellato
9e559f3166
fix(storage/spiffs): fix readdir setting errno on directory end
...
spiffs_res_to_errno maps `SPIFFS_ERR_END_OF_OBJECT` to EIO which breaks the common contract where
errno should be 0 if readdir iterated through all the entries in a directory.
The fix is explicitly checking for `SPIFFS_ERR_END_OF_OBJECT` and in that case set errno to 0.
2026-01-22 15:02:08 +01:00
wanckl
ea03622621
ci(esp32c61): remove c61 support from readme on 5.4
2025-06-17 15:09:40 +08:00
wuzhenghui
33aca83c63
change(ci): remove esp32c5 from readme since esp32c5 skipped CI build
2025-04-25 17:13:27 +08:00
Tomáš Rohlínek
6b07039281
feat(storage/spiffs): move spiffs to new VFS API
2024-11-28 13:56:31 +01:00
Tomas Rohlinek
ee6742d764
Merge branch 'fix/incorrect_test_case_spiffs_linux' into 'master'
...
fix(storage/spiffs): fix incorrect test case configuration
Closes IDFCI-2179
See merge request espressif/esp-idf!33323
2024-10-10 19:50:11 +08:00
Sonika Rathi
d5da858cd9
refactor: remove dependency on spi_flash include for sector size
2024-09-26 13:01:24 +08:00
Alexey Lapshin
4c87af6359
fix(build): fix calloc warnings
2024-09-08 13:53:52 +07:00
Tomáš Rohlínek
4a185b824d
fix(storage/vfs): fix incorrect test case configuration
2024-09-04 12:11:43 +02:00
Igor Udot
b5ab82ce3c
Merge branch 'fix/replace_pytest_function' into 'master'
...
ci: replace pytest function
Closes IDFCI-1693
See merge request espressif/esp-idf!30531
2024-07-31 17:23:56 +08:00
sonika.rathi
c1adbb234b
test(spiffs): add test case for fsync() call
2024-07-29 19:04:10 +02:00
Alexander Somov
da42024bf2
feat(spiffs): add fsync() support to SPIFFS VFS driver
...
Closes https://github.com/espressif/esp-idf/pull/12693
Signed-off-by: sonika.rathi <sonika.rathi@espressif.com >
2024-07-29 17:29:03 +02:00
igor.udot
8691672f03
ci: replace pytest function
2024-07-23 14:07:31 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
Tomáš Rohlínek
c44da2f222
feat(storage/spiffs): add host test for disabled erase check
2024-05-29 11:00:25 +02:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Ivan Grokhotkov
10cc15b150
fix(storage): applied spelling fixes by codespell pre-commit hook
2024-03-28 13:00:54 +01:00
Sudeep Mohanty
9605f9be3f
Merge branch 'contrib/github_pr_12800' into 'master'
...
feat(freertos): Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
Closes IDFGH-11693 and IDF-8785
See merge request espressif/esp-idf!28505
2024-02-20 15:21:47 +08:00
Martin Vychodil
db56ade0f5
Merge branch 'fix/cleanup_storage_sdkconfigs' into 'master'
...
fix(storage): cleanup storage examples/test_apps sdkconfigs
See merge request espressif/esp-idf!28998
2024-02-16 19:28:37 +08:00
sonika.rathi
f7e4b9a132
fix(storage): cleanup storage examples/test_apps sdkconfigs
2024-02-12 10:57:46 +01:00
fl0wl0w
90d1dcfd76
feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
...
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.
[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com >
2024-02-09 09:11:28 +01:00
Adam Múdry
a5630c8277
fix: PRI inttypes error due to C++ invalid suffix on literal in SPIFFS
2024-02-07 23:52:49 +08:00
Tomáš Rohlínek
092f5aff29
feat(storage): Update build test rules for storage related components
2024-01-02 13:10:59 +01:00
Adam Múdry
ab1eb37fe8
feat(partition_table): Add read-only partition flag and functionality
2023-10-11 00:01:05 +02:00
Chen Yudong
2e11919f70
fix(ci): change build-test-rules files folder
2023-09-20 19:17:06 +08:00
Martin Vychodil
e44d4260ad
Merge branch 'feature/storage_host_test_nvs_flash2' into 'master'
...
nvs_flash: finished migration of host tests to the linux emulator of esp_partition
See merge request espressif/esp-idf!23926
2023-08-28 20:20:16 +08: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
abaf997018
fix(spiffs): SPIFFS print formatter errors out
...
Closes https://github.com/espressif/esp-idf/issues/11922
2023-08-15 15:40:19 +02:00
radek.tandler
1da6a4f5fa
fix(spiffs): Corrected buffer size and allocation in host test
2023-08-09 14:14:20 +02:00
Marius Vikhammer
d17248ecdf
build-system: replace ADDITIONAL_MAKE_CLEAN_FILES with ADDITIONAL_CLEAN_FILES
...
ADDITIONAL_MAKE_CLEAN_FILES is deprecated and only worked with make.
Replaced with the new ADDITIONAL_CLEAN_FILES (CMake 3.15) which also works with ninja.
2023-05-08 15:51:48 +08:00
Jakob Hasse
5327fd89b5
spiffs: test is using configurable build dir
2023-03-31 15:07:07 +08:00
radek.tandler
e9e388a085
Storage: ESP Partition extended options for the SPI Flash emulation
...
Various extensions and fixes to improve Linux target SPI Flash emulation. Used by the host tests
2023-03-03 23:57:34 +00:00
Martin Vychodil
a2b0068478
Merge branch 'bugfix/linux_build_errors' into 'master'
...
fix(linux): fix build errors without --skip-setting-flags
See merge request espressif/esp-idf!22063
2023-01-20 14:46:36 +08:00
Ivan Grokhotkov
cef0744299
Merge branch 'bugfix/linux_target_gen_partition_table' into 'master'
...
multiple fixes for linux target
Closes IDF-6641
See merge request espressif/esp-idf!21993
2023-01-18 11:57:08 +08:00
Jakob Hasse
9991862a10
fix(linux): fix build errors and warnings, remove ignore file
2023-01-18 09:24:28 +08:00
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Fu Hanxi
b02687a6c4
test: migrate linux target host test jobs into pytest-embedded
2023-01-16 10:25:55 +08:00
Ivan Grokhotkov
e7540dbe0e
docs: remove the outdated "IDF monitor doesn't work on linux" notes
2023-01-13 08:14:56 +01:00
Ivan Grokhotkov
ec8f38c9da
build system: generate the partition table by default for linux target
...
This fixes the issue that "idf.py partition-table" had to be run
manually in order for the partition table to be generated, when
building for linux target.
2023-01-13 08:14:56 +01:00
Omar Chebib
cd21058097
C/Cxx: unify static assertions with the macro ESP_STATIC_ASSERT
...
Closes https://github.com/espressif/esp-idf/issues/9938
2022-11-21 16:18:08 +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
11ec9d392d
Merge branch 'bugfix/storage_wformat' into 'master'
...
storage: fix and re-enable -Wformat warnings
See merge request espressif/esp-idf!20486
2022-10-18 20:21:53 +08:00
Ivan Grokhotkov
7b709aacc9
spiffs: move tests from unit-test-app to a component test app
2022-10-12 12:08:13 +02:00