Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 7:41 am

Hi Guys

where we find the toolchain esp32-2019r1 ?
the provided link looks 404.
taken from here

thank you!
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 7:51 am

+
can it bee there is a small typo in the link?
ESP32S2:: dl.espressif.com/dl/xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip
LATEST:: dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-win32.zip
ESP32S2:
https://dl.espressif.com/dl/xtensa-esp3 ... -8.2.0.zip

Latest:
https://dl.espressif.com/dl/xtensa-esp3 ... -win32.zip

thank you!
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 7:56 am

+

missing the ESP32S2 toolchain for windows :)
( not the installer )

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 8:08 am

+

ok i know, we have from Angus nice how to
and the toolchain is there for ESP32S2 and Windows.

but i get

Code: Select all

$ make -j4 all
Toolchain path: /opt/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc
WARNING: Toolchain version is not supported: esp32s2-dev-4-g3a626e93
Expected to see version: esp32-2019r1
Please check ESP-IDF setup instructions and update the toolchain, or proceed at your own risk.
Compiler version: 8.2.0
..
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 8:11 am

+

Code: Select all

$ printenv PATH
/opt/xtensa-esp32s2-elf/bin:/mingw32/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
..

Code: Select all

$ printenv IDF_PATH
c:/msys32/home/sysop/esp32s2/esp-idf
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 8:16 am

+

Code: Select all

C:/msys32/home/sysop/esp32s2/esp-idf/components/soc/esp32/include/soc/cpu.h: Assembler messages:
C:/msys32/home/sysop/esp32s2/esp-idf/components/soc/esp32/include/soc/cpu.h:59: Error: invalid register 'MEMCTL' for 'wsr' instruction
C:/msys32/home/sysop/esp32s2/esp-idf/components/soc/esp32/include/soc/cpu.h:59: Error: invalid register 'MEMCTL' for 'wsr' instruction
i think i miss something :)
the ESP32S2 IDF Path is set, and right, but it points to the esp32 include soc cpu.h
can we Define the target "ESP32S2" or must we Define the target in a Makefile?

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪


User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 9:21 am

WiFive wrote:
Tue Sep 17, 2019 8:47 am
https://esp32.com/viewtopic.php?t=12183

Code: Select all

#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) Project Configuration
#
CONFIG_IDF_TARGET_ESP32=y
CONFIG_IDF_TARGET="esp32"
# CONFIG_IDF_TARGET_ESP32S2BETA is not set

#
# SDK tool configuration
#
:roll:

txs WiFive,
And also as a user, is a bit confusing that when you open the sdkconfig you see:

# CONFIG_IDF_TARGET_ESP32 is not set
CONFIG_IDF_TARGET="esp32s2beta"
CONFIG_IDF_TARGET_ESP32S2BETA=y

When the ESP32 target is set
i will have a try again and post result asap ( not just in time but next 8 hours )

txs WiFive!!!
txs @fasani

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 9:52 am

+


feature/esp32s2beta

Code: Select all

..
ifdef IDF_TARGET
ifneq ($(IDF_TARGET),esp32)
$(error GNU Make based build system only supports esp32 target, but IDF_TARGET is set to $(IDF_TARGET))
endif
else
export IDF_TARGET := esp32
endif
..

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1728
Joined: Fri Nov 13, 2015 3:25 pm

Re: Toolchain xtensa-esp32-elf-win32-esp32-2019r1-8.2.0.zip missing

Postby rudi ;-) » Tue Sep 17, 2019 11:18 am

rudi ;-) wrote:
Tue Sep 17, 2019 9:52 am
+


feature/esp32s2beta

Code: Select all

..
ifdef IDF_TARGET
ifneq ($(IDF_TARGET),esp32)
$(error GNU Make based build system only supports esp32 target, but IDF_TARGET is set to $(IDF_TARGET))
endif
else
export IDF_TARGET := esp32
endif
..


changed it to :

Code: Select all

ifdef IDF_TARGET
@echo "IDF TARGET WAS SET:" $(IDF_TARGET)
# ifneq ($(IDF_TARGET),esp32)
ifneq ($(IDF_TARGET),esp32s2beta)
# $(error GNU Make based build system only supports esp32 target, but IDF_TARGET is set to $(IDF_TARGET))
$(error GNU Make based build system only supports esp32s2beta target, but IDF_TARGET is set to $(IDF_TARGET))
endif
else
# export IDF_TARGET := esp32
export IDF_TARGET := esp32s2beta
endif

and we get ( automatically )

Code: Select all

#
# Automatically generated file. DO NOT EDIT.
# Espressif IoT Development Framework (ESP-IDF) Project Configuration
#
# CONFIG_IDF_TARGET_ESP32 is not set
CONFIG_IDF_TARGET="esp32s2beta"
CONFIG_IDF_TARGET_ESP32S2BETA=y

#
# SDK tool configuration
#

btw just in time searching the missing added (esp32s2beta) INCLUDE_PATH

Code: Select all

In file included from C:/msys32/home/sysop/esp32s2/esp-idf/components/soc/esp32s2beta/include/soc/dport_reg.h:184,
                 from C:/msys32/home/sysop/esp32s2/esp-idf/components/app_trace/app_trace.c:160:
C:/msys32/home/sysop/esp32s2/esp-idf/components/soc/esp32s2beta/include/soc/dport_access.h:20:10: fatal error: esp32s2beta/dport_access.h: No such file or directory
 #include "esp32s2beta/dport_access.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

..

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: No registered users and 87 guests