Closed Jimmy106-e closed 5 months ago
You seem to be using what seems to be a very old version of the toolchain:
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-61-gab8375a
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
and the toolchain version crosstool-ng-1.22.0-61-gab8375a
did not support the -mfix-esp32-psram-cache-issue
argument.
I think your IDF version also can't be v5.2.1, since support for GNU Make based build (make flash monitor
) was removed in v5.0. Judging by the "Expected to see version" line, your IDF version is not later than v3.3.2.
You might be following some old tutorial, I'm guessing. I would recommend reinstalling your environment following the getting started guide: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html
You seem to be using what seems to be a very old version of the toolchain:
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-61-gab8375a Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
and the toolchain version
crosstool-ng-1.22.0-61-gab8375a
did not support the-mfix-esp32-psram-cache-issue
argument.I think your IDF version also can't be v5.2.1, since support for GNU Make based build (
make flash monitor
) was removed in v5.0. Judging by the "Expected to see version" line, your IDF version is not later than v3.3.2.You might be following some old tutorial, I'm guessing. I would recommend reinstalling your environment following the getting started guide: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html
Ok Ill try that, thanks
From that page you linked:
© Copyright 2016 - 2017, Espressif. Revision 4de97554.
This is someone's fork of ESP-IDF from 2017, not our official documentation. The up-to-date instructions are at the link from my previous message: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html
You seem to be using what seems to be a very old version of the toolchain:
WARNING: Toolchain version is not supported: crosstool-ng-1.22.0-61-gab8375a Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
and the toolchain version
crosstool-ng-1.22.0-61-gab8375a
did not support the-mfix-esp32-psram-cache-issue
argument.I think your IDF version also can't be v5.2.1, since support for GNU Make based build (
make flash monitor
) was removed in v5.0. Judging by the "Expected to see version" line, your IDF version is not later than v3.3.2.You might be following some old tutorial, I'm guessing. I would recommend reinstalling your environment following the getting started guide: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html
Hey! Just fixed it, thanks!
Answers checklist.
IDF version.
v5.2.1
Operating System used.
macOS
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
What is the expected behavior?
It should flash the app to my ESP32 Cam
What is the actual behavior?
it returns this error
xtensa-esp32-elf-gcc: error: unrecognized command line option '-mfix-esp32-psram-cache-issue'
Steps to reproduce.
Build or installation Logs.
More Information.
No response