espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.37k stars 7.21k forks source link

5.1->5.2 introduces undefined MSPI_TIMING_FLASH_DEFAULT_CONFIG_ID_CORE_CLK_240M_MODULE_CLK_80M_STR_MODE in mspi_timing_tuning_configs.h (IDFGH-13286) #14215

Open 0xPIT opened 2 months ago

0xPIT commented 2 months ago

Answers checklist.

IDF version.

5.2

Operating System used.

macOS

How did you build your project?

Other (please specify in More Information)

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Using esp-idf 5.2 instead of 5.1 in context of platformio compiles as before

What is the actual behavior?

updating working project from platformio 6.4.0 to 6.5.0 or later, which uses idc 5.2 (instead of 5.1 before), yields the following error:

~/.platformio/packages/framework-espidf@3.50201.240515/components/esp_hw_support/port/esp32s3/mspi_timing_tuning_configs.h:180:54: error: 'MSPI_TIMING_FLASH_DEFAULT_CONFIG_ID_CORE_CLK_240M_MODULE_CLK_80M_STR_MODE' undeclared (first use in this function); did you mean 'MSPI_TIMING_FLASH_DEFAULT_CONFIG_ID_CORE_CLK_240M_MODULE_CLK_120M_STR_MODE'?

Steps to reproduce.

change pio config to update to newer framework, recompile

Build or installation Logs.

~/.platformio/packages/framework-espidf@3.50201.240515/components/esp_hw_support/port/esp32s3/mspi_timing_tuning_configs.h:180:54: error: 
'MSPI_TIMING_FLASH_DEFAULT_CONFIG_ID_CORE_CLK_240M_MODULE_CLK_80M_STR_MODE' undeclared (first use in this function); did you mean 'MSPI_TIMING_FLASH_DEFAULT_CONFIG_ID_CORE_CLK_240M_MODULE_CLK_120M_STR_MODE'?

More Information.

I did not find anything in the release notes on the GH releases page

martinberlin commented 3 weeks ago

I'm also suffering from this one. Is there any workaround to make it work? In my case I just switched IDF to release/5.2 and executed install.sh again