Seeed-Solution / SenseCAP_Indicator_ESP32

SenseCAP Indicator SDK.
https://wiki.seeedstudio.com/SenseCAP_Indicator_How_To_Flash_The_Default_Firmware/#ESP-IDF
Apache License 2.0
39 stars 30 forks source link

Patch release5.0_psram_octal_120m.patch fail #19

Closed dspkid2023 closed 1 year ago

dspkid2023 commented 1 year ago

git apply --whitespace=fix ../patch//release5.0_psram_octal_120m.patch error: patch failed: components/spi_flash/spi_flash_timing_tuning.c:230

Love4yzp commented 1 year ago

Could you please specify which IDF version you are working with?

As for the scripts under the "tool" directory, they are available for use once you have activated the ESP-IDF environment. If you have successfully activated the environment, you should be able to run the scripts without any issues.

Please provide more details, and I'll do my best to assist you further!

dspkid2023 commented 1 year ago

Dear Sir,

Current IDF version is 5.0.3-dirty Only v5.0.3 I can get from GitHub base on v5.0.

Thanks for helping.

Best regards, dspkid

mooonight @.***>於 2023年8月6日 週日,09:48寫道:

Could you please specify which IDF version you are working with?

As for the scripts under the "tool" directory, they are available for use once you have activated the ESP-IDF environment. If you have successfully activated the environment, you should be able to run the scripts without any issues.

Please provide more details, and I'll do my best to assist you further!

— Reply to this email directly, view it on GitHub https://github.com/Seeed-Solution/SenseCAP_Indicator_ESP32/issues/19#issuecomment-1666673699, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBXZ5JSJV2NJT5TA2PM5NV3XT3ZXVANCNFSM6AAAAAA3FRKYKQ . You are receiving this because you authored the thread.Message ID: @.***>

dspkid2023 commented 1 year ago

Dear Sir,

@. esp-idf % idf.py --version /Users/ha/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources ESP-IDF v5.0.3-dirty @. esp-idf % git apply --whitespace=fix ../patch/release5.0_psram_octal_120m.patch warning: components/esp_hw_support/port/esp32s3/rtc_clk.c has type 100755, expected 100644 warning: components/esp_psram/esp32s3/Kconfig.spiram has type 100755, expected 100644 warning: components/hal/esp32s3/include/hal/spimem_flash_ll.h has type 100755, expected 100644 warning: components/spi_flash/esp32s3/mspi_timing_tuning_configs.h has type 100755, expected 100644 warning: components/spi_flash/esp32s3/spi_timing_config.c has type 100755, expected 100644 warning: components/spi_flash/esp32s3/spi_timing_config.h has type 100755, expected 100644 warning: components/spi_flash/spi_flash_timing_tuning.c has type 100755, expected 100644 error: patch failed: components/spi_flash/spi_flash_timing_tuning.c:230 error: components/spi_flash/spi_flash_timing_tuning.c: patch does not apply

Best regards, dspkid

On Sun, Aug 6, 2023 at 9:48 AM mooonight @.***> wrote:

Could you please specify which IDF version you are working with?

As for the scripts under the "tool" directory, they are available for use once you have activated the ESP-IDF environment. If you have successfully activated the environment, you should be able to run the scripts without any issues.

Please provide more details, and I'll do my best to assist you further!

— Reply to this email directly, view it on GitHub https://github.com/Seeed-Solution/SenseCAP_Indicator_ESP32/issues/19#issuecomment-1666673699, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBXZ5JSJV2NJT5TA2PM5NV3XT3ZXVANCNFSM6AAAAAA3FRKYKQ . You are receiving this because you authored the thread.Message ID: @.***>

dspkid2023 commented 1 year ago

Patch issue solved after pulling Tag v5.0 from github. build and flash ok.

Thanks

On Sun, Aug 6, 2023 at 1:33 PM Hans Liao @.***> wrote:

Dear Sir,

@. esp-idf % idf.py --version /Users/ha/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources ESP-IDF v5.0.3-dirty @. esp-idf % git apply --whitespace=fix ../patch/release5.0_psram_octal_120m.patch warning: components/esp_hw_support/port/esp32s3/rtc_clk.c has type 100755, expected 100644 warning: components/esp_psram/esp32s3/Kconfig.spiram has type 100755, expected 100644 warning: components/hal/esp32s3/include/hal/spimem_flash_ll.h has type 100755, expected 100644 warning: components/spi_flash/esp32s3/mspi_timing_tuning_configs.h has type 100755, expected 100644 warning: components/spi_flash/esp32s3/spi_timing_config.c has type 100755, expected 100644 warning: components/spi_flash/esp32s3/spi_timing_config.h has type 100755, expected 100644 warning: components/spi_flash/spi_flash_timing_tuning.c has type 100755, expected 100644 error: patch failed: components/spi_flash/spi_flash_timing_tuning.c:230 error: components/spi_flash/spi_flash_timing_tuning.c: patch does not apply

Best regards, dspkid

On Sun, Aug 6, 2023 at 9:48 AM mooonight @.***> wrote:

Could you please specify which IDF version you are working with?

As for the scripts under the "tool" directory, they are available for use once you have activated the ESP-IDF environment. If you have successfully activated the environment, you should be able to run the scripts without any issues.

Please provide more details, and I'll do my best to assist you further!

— Reply to this email directly, view it on GitHub https://github.com/Seeed-Solution/SenseCAP_Indicator_ESP32/issues/19#issuecomment-1666673699, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBXZ5JSJV2NJT5TA2PM5NV3XT3ZXVANCNFSM6AAAAAA3FRKYKQ . You are receiving this because you authored the thread.Message ID: @.***>

Love4yzp commented 1 year ago

It's great to hear that the patch issue has been successfully resolved by pulling Tag v5.0 from GitHub and confirming that the build and flash are working fine.

If you have any more questions or need further assistance, please don't hesitate to reach out.