<br/>
I'm on a pi 5 and new to micro-controllers. I am trying to use an esp-wroom-32 development board. <br/>
<br/>
I am trying to set up the the framework IDF following a youtube video (<URL url="https://www.youtube.com/watch?v=dOVjb2w ... jb2wXI84<e>[/url]</e></URL>). I installed the framework and used the create project command. I got to the part where I'm in folder ~/esp-idf/projects/blink-led/main and I'm running <CODE><s>
Code: Select all
</s>idf.py set-target esp32<e>
<br/>
I get an error message saying the following about CMake issues below. I attached the files listed at the end (CMake output log, stderr output, stdout output). I'm not sure how to parse any of this to find a solution. Any help as to how to move forward from here would be greatly appreciated. <br/>
<br/>
<CODE><s>
Code: Select all
</s>Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Build directory '/home/lie/esp-idf/projects/blink-led/main/build' not found. Nothing to clean.
Executing action: set-target
Set Target to: esp32, new sdkconfig will be created.
Running cmake in directory /home/lie/esp-idf/projects/blink-led/main/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/lie/.espressif/python_env/idf5.5_py3.11_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0 /home/lie/esp-idf/projects/blink-led/main"...
CMake Warning (dev) in CMakeLists.txt:
No project() command is present. The top-level CMakeLists.txt file must
contain a literal, direct call to the project() command. Add a line of
code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first
line.
This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:1 (idf_component_register):
Unknown CMake command "idf_component_register".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.25)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/lie/esp-idf/projects/blink-led/main/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1, output of the command is in the /home/lie/esp-idf/projects/blink-led/main/build/log/idf_py_stderr_output_4317 and /home/lie/esp-idf/projects/blink-led/main/build/log/idf_py_stdout_output_4317
<e>
<br/>
Thank you</r>