This is my first post in this forum and I hope that you are able to help me.
I inherited a project that uses IDF 4.4. Because of the maintenance period I now wanted to update the complete Project to the latest one (5.2.1).
I did this by downloading the IDF 5.2.1 to my Laptop and running the build. Of course many problems popped up so I solved one after the other. During this process it was necessary to manually go through the sdkconfig file because nearly none of the settings that were used were correctly translated or reused. It seems that most of them were set to the defaults.
Now I got stuck with the following error message:
Code: Select all
/Documents/esp/.espressif/python_env/idf5.2_py3.9_env/bin/python /Users/-/Documents/esp/v5.2.1/esp-idf/components/esptool_py/esptool/espsecure.py sign_data -k secure_boot_signing_key2.pem -v 2 --append_signatures -o signed_bootloader.bin build/bootloader/bootloader.bin" && /opt/homebrew/Cellar/cmake/3.28.2/bin/cmake -E echo "Secure boot enabled, so bootloader not flashed automatically." && /opt/homebrew/Cellar/cmake/3.28.2/bin/cmake -E echo " /Users/-/Documents/esp/.espressif/python_env/idf5.2_py3.9_env/bin/python /Users/-/Documents/esp/v5.2.1/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32s2 --port=(PORT) --baud=(BAUD) --before=default_reset --after=no_reset write_flash --flash_mode dio --flash_freq 80m --flash_size keep 0x1000 /Users/-/Documents/project/build/bootloader/bootloader.bin" && /opt/homebrew/Cellar/cmake/3.28.2/bin/cmake -E echo ==============================================================================
/Users/-/Documents/esp/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/esp_hw_support/libesp_hw_support.a(rtc_time.c.obj):(.literal.startup.enable_timer_group0_for_calibration+0x4): undefined reference to `periph_rcc_acquire_enter'
/Users/-/Documents/esp/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/esp_hw_support/libesp_hw_support.a(rtc_time.c.obj):(.literal.startup.enable_timer_group0_for_calibration+0x8): undefined reference to `periph_rcc_acquire_exit'
/Users/-/Documents/esp/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: esp-idf/esp_hw_support/libesp_hw_support.a(rtc_time.c.obj): in function `enable_timer_group0_for_calibration':
/Users/-/Documents/esp/v5.2.1/esp-idf/components/esp_hw_support/port/esp32s2/rtc_time.c:266:(.text.startup.enable_timer_group0_for_calibration+0x6): undefined reference to `periph_rcc_acquire_enter'
/Users/-/Documents/esp/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: /Users/-/Documents/esp/v5.2.1/esp-idf/components/esp_hw_support/port/esp32s2/rtc_time.c:266:(.text.startup.enable_timer_group0_for_calibration+0x53): undefined reference to `periph_rcc_acquire_exit'
Is there generally a more straightforward way to update the IDF?
Thanks in advance!