Skip to content

To use arduino as a component of ESP-IDF do not work! #3877

@Nexus1212

Description

@Nexus1212

Hello,

My goal is to flash a arduino sketch with esp-idf.

I am following this manual:

https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md

My system is a win10.

I can not finish the manual, because a command not work on my computer.

The following command in the commandshell does not work: "make menuconfig"
I get the error: "Der Befehl "make" ist entweder falsch geschrieben oder
konnte nicht gefunden werden." (In english: The command can not be found)

I tried another command: "idf.py menuconfig"
I get the error:


Checking Python dependencies...
Python requirements from C:\Users\Chris\Desktop\esp-idf-4.0\requirements.txt are satisfied.
Executing action: menuconfig
Running cmake in directory c:\users\chris\desktop\esp-idf-4.0\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 c:\users\chris\desktop\esp-idf-4.0\hello_world"...
Warn about uninitialized values.
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.21.0.windows.1")
-- mconf-idf version mconf-v4.6.0.0-idf-20190628-win32
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/Chris/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/Chris/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/Chris/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/Chris/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/Chris/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project version: v4.0-dirty
-- Building ESP-IDF components for target esp32
CMake Error at C:/Users/Chris/Desktop/esp-idf-4.0/tools/cmake/build.cmake:185 (message):
  Failed to resolve component 'ethernet'.
Call Stack (most recent call first):
  C:/Users/Chris/Desktop/esp-idf-4.0/tools/cmake/build.cmake:211 (__build_resolve_and_add_req)
  C:/Users/Chris/Desktop/esp-idf-4.0/tools/cmake/build.cmake:425 (__build_expand_requirements)
  C:/Users/Chris/Desktop/esp-idf-4.0/tools/cmake/project.cmake:337 (idf_build_process)
  CMakeLists.txt:6 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/Chris/Desktop/esp-idf-4.0/hello_world/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions