Juraj Michálek
Juraj Michálek
Issue transfered to esp-idf-sys project. Closing.
@robotoss Please, could you try one of following solutions: https://github.com/espressif/esp-idf/issues/4081#issuecomment-883400463
There were many updates and fixes, meanwhile. Closing the issue.
Simulated problem with Windows 11 ``` error: cannot find attribute `default_method_body_is_const` in this scope --> C:\Users\User\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\clone.rs:132:7 | 132 | #[default_method_body_is_const] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: could not compile `core` due to 6...
Command: ` cargo build --release` ``` error: cannot find attribute `default_method_body_is_const` in this scope --> C:\Users\User\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\clone.rs:132:7 | 132 | #[default_method_body_is_const] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Command: ` cargo "+nightly-2022-08-15" build --release` ```...
@Rainbow-Cai Please uncheck ESP32-C6 during the installation. It seems not supported by ESP-IDF that you've selected. It's possible to enable any target after the installation, just run `install.bat esp32c6`. We...
@Rainbow-Cai Thank you for the confirmation of the version. We will double-check the issue. As a workaround: Uncheck C6 during installation in GUI. The installation should pass without a problem....
I recommend requesting user consent at this point or hard-stop the installation with a hint for parameters to override the warning.
This problem occurs on Windows when CMakeLists.txt contains environment variable expansion like this: ``` include("$ENV{IDF_PATH}/tools/cmake/project.cmake") ``` CMake is complaining about the first backlash in the path: ``` c:\dev\ESP32\tools\python_env\idf4.0_py3.8_env\Scripts\python.exe ``` CMake...
Correction: The root cause of the problem are not ROM functions, but usage of PSRAM which is slower than limited SRAM. Once the allocation is too big, the MicroPython grabs...