This error message indicates that the command line option '-mfix-esp32-psram-cache-strategy=memw' is not recognized by the compiler 'xtensa-esp32-elf-g++'. This could happen for several reasons:

  1. The compiler version you are using does not support this option. In this case, you may need to upgrade your compiler to a newer version that supports this option.

  2. The option is misspelled or not formatted correctly. Make sure that the option is spelled correctly and formatted as expected by the compiler.

  3. The option is not valid for the target architecture or platform. Check the documentation for your target platform or architecture to see if this option is supported.

To resolve this error, you need to identify the cause and take appropriate action. If none of the above suggestions work, you may need to consult the documentation or seek help from the community to resolve the issue

xtensa-esp32-elf-g++ error unrecognized command line option -mfix-esp32-psram-cache-strategy=memwexit status 1Compilation error exit status 1

原文地址: https://www.cveoy.top/t/topic/eKXG 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录