Unofficial Development Kit for Espressif ESP32 (Windows)
Unofficial Development Kit for Espressif ESP32 (Windows)
Hi all
I released a Beta version of Unofficial Development Kit for Espressif ESP32 (Windows)
The kit includes the following components and tools:
* Unofficial GCC compiler for SoC Xtensa L108.
* Official Espressif ESP32 RTOS SDK v2.0.0
* Documentation for SoC ESP32.
* Examples in the firmware source code in C language.
* Additional tools for working with boards based on the ESP32.
Instructions for installing and configuring the Unofficial Development Kit for Espressif ESP32:
1. Download (114Mb) and install my Unofficial Development Kit for Espressif ESP32.
2. Download and install the Java Runtime x86 (jre-7uXX-windows-i586.exe)
3. Download and install Eclipse Mars x86 to develop in C ++ (eclipse-cpp-mars-R-win32.zip). Unpack the archive to the root of drive C.
4. Download and install MinGW. Run mingw-get-setup.exe, the installation process to select without GUI, ie uncheck "... also install support for the graphical user interface".
5. Download the (84Mb) my scripts to automate the installation of additional modules for MinGW.
6. Run from my file install-mingw-package.bat. He will establish the basic modules for MinGW, installation should proceed without error.
7. Start the Eclipse Luna from the directory c:\eclipse\eclipse.exe
8. In Eclipse, select File -> Import -> General -> Existing Project into Workspace, in the line Select root directory, select the directory C:\Espressif\examples\ESP32 and import work projects.
9. Edit the Makefile, correct COM port number in the parameter ESPPORT and SPI_SIZE_MAP.
Further, the right to select the Make Target project, such as esp32_hello_world and run the target 'all' the compile project, while in the console window should display the progress of the build. Run the target 'flash' for burn firmware.
Official website of the project:
I released a Beta version of Unofficial Development Kit for Espressif ESP32 (Windows)
The kit includes the following components and tools:
* Unofficial GCC compiler for SoC Xtensa L108.
* Official Espressif ESP32 RTOS SDK v2.0.0
* Documentation for SoC ESP32.
* Examples in the firmware source code in C language.
* Additional tools for working with boards based on the ESP32.
Instructions for installing and configuring the Unofficial Development Kit for Espressif ESP32:
1. Download (114Mb) and install my Unofficial Development Kit for Espressif ESP32.
2. Download and install the Java Runtime x86 (jre-7uXX-windows-i586.exe)
3. Download and install Eclipse Mars x86 to develop in C ++ (eclipse-cpp-mars-R-win32.zip). Unpack the archive to the root of drive C.
4. Download and install MinGW. Run mingw-get-setup.exe, the installation process to select without GUI, ie uncheck "... also install support for the graphical user interface".
5. Download the (84Mb) my scripts to automate the installation of additional modules for MinGW.
6. Run from my file install-mingw-package.bat. He will establish the basic modules for MinGW, installation should proceed without error.
7. Start the Eclipse Luna from the directory c:\eclipse\eclipse.exe
8. In Eclipse, select File -> Import -> General -> Existing Project into Workspace, in the line Select root directory, select the directory C:\Espressif\examples\ESP32 and import work projects.
9. Edit the Makefile, correct COM port number in the parameter ESPPORT and SPI_SIZE_MAP.
Further, the right to select the Make Target project, such as esp32_hello_world and run the target 'all' the compile project, while in the console window should display the progress of the build. Run the target 'flash' for burn firmware.
Official website of the project:
Last edited by CHERTS on Thu May 26, 2016 9:09 am, edited 1 time in total.
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
CHERTS wrote:Hi all
I released a Beta version of Unofficial Development Kit for Espressif ESP32 (Windows)
..
thank you for your renewed effort Mikhail!
this solved time problems to organice this
because beta, have a few suggestions:
udkvars_esp32.bat and install in a deviating folder, example "install in c:\espressif_esp32"
if we change Devkit-Dir in environment batch file can we use this in the makefile too?
i know, we have
XTENSA_TOOL_ROOT .."C:\Espressif.."
SDK_BASE .."C:\Espressif.."
SDK_TOOLS.."C:\Espressif.."
there are Folder static "C:\Espressif\...."
can we use Variable that still points to the environment in Batch file? ( espressif_esp32 )
for reason in a parallel installation to your Unofficial Development Kit for Espressif ESP8266 have changed the (esp32) "c:\espressif\tools" folder to "c:\espressif\tools_esp32" and named it in batch file and makefile. this works for me, separates us clean the tools of the two.
btw:
the example still points to the ESP8266 in properties, c/c++ general, paths and symbols.
have changed it to "c:/Espressif/ESP32_RTOS_SDK/include/espressif"
this solved the unresolveds example ..uint8 ..#include "esp_common.h"
@cdtdoug have we no a possible way in eclipse for include all subfolders here ?
do we must include each folder?
thank you for the effort and work!
works just fine!
have a good start in 2016,
stay healthy and god bless you and your family!
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
workaround: error: "floating constant truncated to zero"
hi Mikhail,
can you look at the times, please?
compile and result without problems in linux and toolchain.
compile in windows (minGW) and toolchain and eclipse
is possible to get the error:
error: "floating constant truncated to zero"
first help & fast workaround is:
second help, perhabs your proposal
btw:
the 'gcc' output:
think perhabs
usual suspects are: gmp & mpfr
because beta, what you think?
can you look at this at time..no hurry!
we have a workaround perhabs my code is wrong ( i hope not )
txs
best wishes
rudi
btw this was here too:
http://murga-linux.com/puppy/viewtopic.php?t=96922
http://www.murga-linux.com/puppy/viewto ... 272#818272
can you look at the times, please?
Code: Select all
..
uint8 temper; // result in fahrenheit
float celsius; // conversion in Celsius later
celsius = ( temper - 32 ) / 1.8 ;
..
compile in windows (minGW) and toolchain and eclipse
is possible to get the error:
error: "floating constant truncated to zero"
first help & fast workaround is:
Code: Select all
..
celsius = ( ( temper - 32 ) *10) / 18 ;
..
btw:
the 'gcc' output:
Code: Select all
C:\Espressif\xtensa-esp108-elf\bin>xtensa-esp108-elf-gcc -v
Using built-in specs.
COLLECT_GCC=xtensa-esp108-elf-gcc
COLLECT_LTO_WRAPPER=c:/espressif/xtensa-esp108-elf/bin/../libexec/gcc/xtensa-esp108-elf/5.1.0/lto-wrapper.exe
Target: xtensa-esp108-elf
Configured with: ../configure --prefix=/d/Neo/esp8266/esp32-devkit/Espressif/xtensa-esp108-elf --target=xtensa-esp108-elf --enable-multilib --disable-nls --disable-shared --disable-threads --with-gnu-as --with-gnu-ld --with-gmp=/d/Neo/esp8266/esp32-devkit/Espressif/build/gmp --with-mpfr=/d/Neo/esp8266/esp32-devkit/Espressif/build/mpfr --with-mpc=/d/Neo/esp8266/esp32-devkit/Espressif/build/mpc --enable-languages=c,c++ --with-newlib --disable-libssp --disable-__cxa_atexit
Thread model: single
gcc version 5.1.0 (GCC)
usual suspects are: gmp & mpfr
because beta, what you think?
can you look at this at time..no hurry!
we have a workaround perhabs my code is wrong ( i hope not )
txs
best wishes
rudi
btw this was here too:
http://murga-linux.com/puppy/viewtopic.php?t=96922
http://www.murga-linux.com/puppy/viewto ... 272#818272
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
Hello,
Small warning during build event:
- Invalid project path: Include path not found (C:\Espressif\ESP8266_SDK\include). esp32_hello_world
Fixed with C:\Espressif\ESP32_RTOS_SDK\include\
Regards, Xatax
Small warning during build event:
- Invalid project path: Include path not found (C:\Espressif\ESP8266_SDK\include). esp32_hello_world
Fixed with C:\Espressif\ESP32_RTOS_SDK\include\
Regards, Xatax
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
I released a new beta version 0.0.6, it DevKit for ESP32 .
I restructured so that it can work normally in the folder C:\Espressif together with the DevKit for ESP8266:
* Documentation moved to a subfolder docs\ESP32;
* Examples moved to a subfolder examples\ESP32;
* Utils moved to a subfolder utils\ESP32;
I restructured so that it can work normally in the folder C:\Espressif together with the DevKit for ESP8266:
* Documentation moved to a subfolder docs\ESP32;
* Examples moved to a subfolder examples\ESP32;
* Utils moved to a subfolder utils\ESP32;
- DAFlippers
- Posts: 22
- Joined: Sat Nov 14, 2015 9:20 am
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
In Windows 10 the 'at' command has been deprecated so you need to change the line
at > nul
to
schtasks > nul
in the file
install-mingw-package.bat
David
at > nul
to
schtasks > nul
in the file
install-mingw-package.bat
David
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
hi
because:
"Segmentation fault
rounding *= 10.0;
"
not sure, perhabs this use in gcc configure
best wishes
rudi
because:
"Segmentation fault
rounding *= 10.0;
"
not sure, perhabs this use in gcc configure
Code: Select all
--enable-decimal-float=yes
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
Hi,
Somebody tried to migrate to SDK V2.0 ?
Me, I got 108 errors during build.
I'm trying to find the route cause and fix it...
Br, Xatax
Somebody tried to migrate to SDK V2.0 ?
Me, I got 108 errors during build.
I'm trying to find the route cause and fix it...
Br, Xatax
- Attachments
-
- Capture.PNG (78.84 KiB) Viewed 44208 times
Re: Unofficial Development Kit for Espressif ESP32 (Windows)
Which perspective should I open a ESP32 project? I dont have coding highlight with user.c file.