-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ATA-Trim support #2781
ATA-Trim support #2781
Conversation
Yes, only I have now adapted fatfs and sdmmc from the ESP-IDF so that FF_USE_TRIM can remain at 1 and cards that support it can also use it. Process in the ESP-IDF:
changed to:
|
@jomjol Yes, the other PR was the initial one, but we should go with the one here as it is advanced. I updated the PR description with your nice explanation. @friedpa and @Rak3tenmann Can you also test this PR and check it works for you? |
Good Afternoon Gents, |
Thanks @SybexX for your contribution! |
Since this problem really affects all 5. versions, I have now created a "Issues" in espressif, let's see if something happens there. |
Linker complains about duplicates: packages/toolchain-xtensa-esp32/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: .pio/build/esp32cam/esp-idf/esp-sdmmc/libesp-sdmmc.a(sdmmc_common_mh.o): in function |
Unfortunately, this is due to Visual Studio Code, and linking problems occasionally occur. |
* update * Revert "v15.4.0" This reverts commit 74d4f20. * Revert "prepare v15.4.0 versuch 2" This reverts commit e790a14. * revert submnodules (#2768) Co-authored-by: CaCO3 <[email protected]> * Update submodules (#2769) - Update `esp-nn` to v1.0.2 - Update `esp32-camera` to v2.0.6 - Updated `tflite-micro-esp-examples` (The repo got renamed to `esp-tflite-micro ` and the folder structure got cleaned up). * fix(unity-test): Run unity tests in dedicated task Avoid running out of heap * Add delay * Update * Update * Enhance busy notification (#2774) * on marker updating, show message and retry until round got completed * same for contrast enhancement --------- Co-authored-by: CaCO3 <[email protected]> * Fix negatives on extended resolution false #2744 (#2772) * not extended resolution allows -1 on the lowest digit * not extended resolution allows -1 on the lowest number * negatives on last value digit with -1 will set to prevalue and is not an error #2744 --------- Co-authored-by: jomjol <[email protected]> * Implemented late analog / digital transition (#2778) * Implemented late transition Complete rewrite of analog / digital transition Two tests is still failing, which need to be discussed. * Allow wider range of transition values to support late transition * Added documentation * Fix testings (#2783) * fix all tests and more description * The decimal point offset. -3 corresponds to x.yyy --------- Co-authored-by: jomjol <[email protected]> * Bugfix InfluxDB shifting times (#2785) * Modify time_sntp * Update time_sntp.cpp * Update time_sntp.cpp * update * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Update time_sntp.cpp * Upload * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Remove Time Convert vom influx Interface * Update platform-espressif32 to 6.5.0 (#2770) * Update ESP IDF to 6.5.0 * Migration to new IDF * Correct smtp vor v5.1 --------- Co-authored-by: CaCO3 <[email protected]> Co-authored-by: jomjol <[email protected]> * ATA-Trim support (#2781) * Add files via upload * Update main.cpp * Update main.cpp * Update main.cpp * Update Helper.cpp * Update Helper.h * Update CMakeLists.txt * Update CMakeLists.txt * Update diskio_sdmmc_mh.c * Update diskio_sdmmc_mh.h * Update ff_mh.c * Update vfs_fat_sdmmc_mh.c * Update sdmmc_common_mh.h * Update sdmmc_common_mh.c * Update Helper.cpp * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update ff_mh.c --------- Co-authored-by: CaCO3 <[email protected]> * Update Changelog.md * Add device info info page (#2789) Signed-off-by: Florian Grabmeier <[email protected]> * fix chip information REST API * Update pipelines to fix warnings (#2841) Update actions * Move param doc (#2843) moved param doc from docs repo to here * fix(tflite): Fix memory leaks in tflite integration (#2842) * Update Changelog.md (#2849) --------- Signed-off-by: Florian Grabmeier <[email protected]> Co-authored-by: jomjol <[email protected]> Co-authored-by: CaCO3 <[email protected]> Co-authored-by: Slider0007 <[email protected]> Co-authored-by: Frank Haverland <[email protected]> Co-authored-by: Martin Siggel <[email protected]> Co-authored-by: michael <[email protected]> Co-authored-by: flox_x <[email protected]> Co-authored-by: Slider0007 <[email protected]>
* update * Revert "v15.4.0" This reverts commit 74d4f20. * Revert "prepare v15.4.0 versuch 2" This reverts commit e790a14. * revert submnodules (#2768) * Update submodules (#2769) - Update `esp-nn` to v1.0.2 - Update `esp32-camera` to v2.0.6 - Updated `tflite-micro-esp-examples` (The repo got renamed to `esp-tflite-micro ` and the folder structure got cleaned up). * fix(unity-test): Run unity tests in dedicated task Avoid running out of heap * Add delay * Update * Update * Enhance busy notification (#2774) * on marker updating, show message and retry until round got completed * same for contrast enhancement --------- * Fix negatives on extended resolution false #2744 (#2772) * not extended resolution allows -1 on the lowest digit * not extended resolution allows -1 on the lowest number * negatives on last value digit with -1 will set to prevalue and is not an error #2744 --------- * Implemented late analog / digital transition (#2778) * Implemented late transition Complete rewrite of analog / digital transition Two tests is still failing, which need to be discussed. * Allow wider range of transition values to support late transition * Added documentation * Fix testings (#2783) * fix all tests and more description * The decimal point offset. -3 corresponds to x.yyy --------- * Bugfix InfluxDB shifting times (#2785) * Modify time_sntp * Update time_sntp.cpp * Update time_sntp.cpp * update * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Update time_sntp.cpp * Upload * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Update interface_influxdb.cpp * Remove Time Convert vom influx Interface * Update platform-espressif32 to 6.5.0 (#2770) * Update ESP IDF to 6.5.0 * Migration to new IDF * Correct smtp vor v5.1 --------- * ATA-Trim support (#2781) * Add files via upload * Update main.cpp * Update main.cpp * Update main.cpp * Update Helper.cpp * Update Helper.h * Update CMakeLists.txt * Update CMakeLists.txt * Update diskio_sdmmc_mh.c * Update diskio_sdmmc_mh.h * Update ff_mh.c * Update vfs_fat_sdmmc_mh.c * Update sdmmc_common_mh.h * Update sdmmc_common_mh.c * Update Helper.cpp * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update ff_mh.c --------- * Update Changelog.md * Add device info info page (#2789) * fix chip information REST API * Update pipelines to fix warnings (#2841) Update actions * Move param doc (#2843) moved param doc from docs repo to here * fix(tflite): Fix memory leaks in tflite integration (#2842) * Update Changelog.md (#2849) --------- Signed-off-by: Florian Grabmeier <[email protected]> Co-authored-by: jomjol <[email protected]> Co-authored-by: CaCO3 <[email protected]> Co-authored-by: Slider0007 <[email protected]> Co-authored-by: Frank Haverland <[email protected]> Co-authored-by: Martin Siggel <[email protected]> Co-authored-by: michael <[email protected]> Co-authored-by: flox_x <[email protected]> Co-authored-by: Slider0007 <[email protected]>
copied the ESP IDF component fatfs to our project and modified it to:
Original (official ESP-IDF behaviour):
See #2710 for details