This error occurs when the compiler, xtensa-esp32-elf-g++, encounters an unrecognized command line option, '-mfix-esp32-psram-cache-strategy=memw'.

There could be a few reasons for this error:

  1. The option is not supported by the compiler version you are using. Make sure you are using a compatible version of the compiler.

  2. The option is misspelled or not formatted correctly. Double-check the spelling and syntax of the option.

  3. The option is not meant for the target platform or architecture. Make sure the option is appropriate for the ESP32 platform.

To fix this error, you can try removing the option from your command line or finding a compatible version of the compiler that supports it.

xtensa-esp32-elf-g++: Error: Unrecognized Command Line Option '-mfix-esp32-psram-cache-strategy=memw'

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

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