With the latest SDK and tools, I noticed the following issue:
At Line #432 and #433, the toolchain version verification returns a null string.
TOOLCHAIN_COMMIT_DESC := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc\ \(([^)]*).*|\1|gp')
TOOLCHAIN_GCC_VER := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc\ \(.*\)\ (.*)|\1|gp')
I think that they need to contain ".exe" in the filename:
TOOLCHAIN_COMMIT_DESC := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc.exe\ \(([^)]*).*|\1|gp')
TOOLCHAIN_GCC_VER := $(shell $(CC) --version | sed -E -n 's|xtensa-esp32-elf-gcc.exe\ \(.*\)\ (.*)|\1|gp')
I use MSYS release from:
https://dl.espressif.com/dl/esp32_win32 ... 170111.zip
I get error as follows:
$ make menuconfig
WARNING: Toolchain version is not supported:
Expected to see version: crosstool-NG crosstool-ng-1.22.0-61-gab8375a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
/c/projects/esp32/esp-idf/make/project.mk:445: WARNING: Compiler version is not supported:
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
MENUCONFIG
Issue with the esp-idf/make/project.mk
Who is online
Users browsing this forum: No registered users and 253 guests