How to install esp-iot-solution?

somebody
Posts: 3
Joined: Fri May 29, 2020 11:32 am

How to install esp-iot-solution?

Postby somebody » Fri May 29, 2020 11:46 am

I am new to esp.
I have install esp-idf and idf-eclipse-plugin, those function well.
But when I install esp-iot-solution, that confused me so much.
I cannot build the example "touch_pad_evb".
Please help me!

chegewara
Posts: 1174
Joined: Wed Jun 14, 2017 9:00 pm

Re: How to install esp-iot-solution?

Postby chegewara » Fri May 29, 2020 1:16 pm

Here is all you need:
https://github.com/espressif/esp-iot-so ... rationmake

Which part is confusing you?
iot-solution is using esp-idf which is in submodule folder with checkout hash. If you will update it to some newer version it may not work.

somebody
Posts: 3
Joined: Fri May 29, 2020 11:32 am

Re: How to install esp-iot-solution?

Postby somebody » Fri May 29, 2020 11:12 pm

Following output shows the problem.


C:\Users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb>%userprofile%/esp/esp-idf/export
Setting IDF_PATH: C:\Users\daekyu\esp\esp-idf

Adding ESP-IDF tools to PATH...
No directories added to PATH:

C:\Users\daekyu\.espressif\tools\xtensa-esp32-elf\esp-2020r1-8.2.0\xtensa-esp32-elf\bin;C:\Users\daekyu\.espressif\tools\xtensa-esp32s2-elf\esp-2020r1-8.2.0\xtensa-esp32s2-elf\bin;C:\Users\daekyu\.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\daekyu\.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\daekyu\.espressif\tools\cmake\3.16.4\bin;C:\Users\daekyu\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200420\openocd-esp32\bin;C:\Users\daekyu\.espressif\tools\ninja\1.10.0\;C:\Users\daekyu\.espressif\tools\idf-exe\1.0.1\;C:\Users\daekyu\.espressif\tools\ccache\3.7\;C:\Users\daekyu\.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\daekyu\.espressif\python_env\idf4.2_py3.8_env\Scripts;C:\Users\daekyu\esp\esp-idf\tools;C:\Users\daekyu\AppData\Local\Programs\Python\Python38\;C:\Program Files\Git\cmd;C:\Program Files (x86)\STMicroelectronics\st_toolset\asm;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\VisualSVN Server\bin;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Users\daekyu\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\daekyu\AppData\Local\Programs\Python\Python38\;C:\Program Files\Java\jdk-14.0.1\bin;C:\Program Files\Git\cmd;C:\Users\daekyu\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\daekyu\AppData\Local\Programs\Python\Python38\;C:\Users\daekyu\AppData\Local\Microsoft\WindowsApps;C:\Users\daekyu\AppData\Local\GitHubDesktop\bin;

Checking if Python packages are up to date...
Python requirements from C:\Users\daekyu\esp\esp-idf\requirements.txt are satisfied.

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

idf.py build


C:\Users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb>idf.py build
Executing action: all (aliases: build)
Running ninja in directory c:\users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb\build
Executing "ninja all"...
[0/1] Re-running CMake...
CMake Error at C:/Users/daekyu/esp/esp-iot-solution/submodule/esp-idf/tools/cmake/kconfig.cmake:41 (message):
Windows requires a prebuilt mconf-idf for your platform on the PATH, or an
MSYS2 version of gcc on the PATH to build mconf-idf. Consult the setup
docs for ESP-IDF on Windows.
Call Stack (most recent call first):
C:/Users/daekyu/esp/esp-iot-solution/submodule/esp-idf/tools/cmake/project.cmake:26 (include)
CMakeLists.txt:18 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Users/daekyu/esp/esp-iot-solution/examples/touch_pad_evb/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
C:\Users\daekyu\.espressif\tools\cmake\3.16.4\bin\cmake.exe -SC:\Users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb -BC:\Users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb\build
ninja: error: rebuilding 'build.ninja': subcommand failed
ninja failed with exit code 1

C:\Users\daekyu\esp\esp-iot-solution\examples\touch_pad_evb>

somebody
Posts: 3
Joined: Fri May 29, 2020 11:32 am

Re: How to install esp-iot-solution?

Postby somebody » Fri May 29, 2020 11:46 pm

Background history:

2 weeks ago, I have received ESP32-DevKitC from Digikey.
And I have tested DevKitC successfully after installing esp-idf(ver 4.0), idf-eclipse-plugin.
Recently I have received ESP32-Sense Kit, so I think to test the touch sensor.
But the documents suddenly says to use make command as following.
That lead me to the chaos world. :shock:

Download programs
Run make menuconfig to configure the config settings for ESP32-Sense Project, as the screenshot below shows. Run make flash to download programs into the development board.

Who is online

Users browsing this forum: No registered users and 2 guests