Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on master ESP-IDF (4.2-dev) #350

Closed
nlw0 opened this issue May 2, 2020 · 5 comments
Closed

Cannot build on master ESP-IDF (4.2-dev) #350

nlw0 opened this issue May 2, 2020 · 5 comments

Comments

@nlw0
Copy link

nlw0 commented May 2, 2020

I'm trying to build this project and apparently my toolchain is not adequate. I'm just using the ESP-IDF as the README says. What's missing?

Toolchain path: /home/user/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
WARNING: Toolchain version is not supported: esp-2020r1
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
WARNING: Compiler version is not supported: 8.2.0
Expected to see version(s): 5.2.0
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Toolchain version is not supported: esp-2020r1
Expected to see version: crosstool-ng-1.22.0-80-g6c4433a
Please check ESP-IDF setup instructions and update the toolchain.
Makefile:245: *** Aborting.  Stop.
user@N240WU:~/src/Lua-RTOS-ESP32$

@ar055
Copy link

ar055 commented Jun 5, 2020

Hi! Set this toolchain https://docs.espressif.com/projects/esp-idf/en/release-v3.0/get-started/linux-setup.html and modify $PATH for find this

@wasn-eu
Copy link

wasn-eu commented Aug 10, 2020

installed from the above link but when i try to make menuconfig i get this error:

dev@dev:~/esp/Lua-RTOS-ESP32$ make menuconfig
Makefile:186: *** Please, run "make upgrade-idf" before, to upgrade esp-idf to the version required by Lua RTOS.  Stop.

executing make upgrade-idf gives the following:

dev@dev:~/esp/Lua-RTOS-ESP32$ make upgrade-idf
DEFCONFIG
#
# configuration written to /home/dev/esp/Lua-RTOS-ESP32/sdkconfig
#
GENCONFIG
Reverting previous Lua RTOS esp-idf patches ...
Already up to date.
Submodule path 'components/aws_iot/aws-iot-device-sdk-embedded-C': checked out '7132505b00d2dd57f48478e75efa636021919aae'
Submodule path 'components/bt/lib': checked out '8623625b6d3fe7ddc6820b49d3ff16fea1570ac8'
Submodule path 'components/coap/libcoap': checked out '6468887a12666f88b8704d797fc176cd4f40ee4c'
Submodule path 'components/esp32/lib': checked out 'ac3108200a0ac7bd58b060fa4d5e389827290d63'
Submodule path 'components/esptool_py/esptool': checked out '9ad444a6e06e58833d5e6044c1d5f3eb3dd56023'
Submodule path 'components/json/cJSON': checked out '3c8935676a97c7c97bf006db8312875b4f292f6c'
Submodule path 'components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc'
Submodule path 'components/micro-ecc/micro-ecc': checked out '14222e062d77f45321676e813d9525f32a88e8fa'
Submodule path 'components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032'
Submodule path 'components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de'
Submodule path 'components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134'
Submodule path 'components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c'

trying make menuconfig after that gives the same error as above.

@wasn-eu
Copy link

wasn-eu commented Aug 17, 2020

please help

@wasn-eu
Copy link

wasn-eu commented Aug 17, 2020

just commented the error line about wrong version and now it is compiling fine.

@the0ne
Copy link
Collaborator

the0ne commented Dec 2, 2022

See #402

@the0ne the0ne closed this as completed Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants