Hi to all,
I'm a new user of ESPRESSIF ESP32 module so I downloaded the esp-idf tools v2.2 and the ESP-IDF library (from GitHub) as described in the link:
https://docs.espressif.com/projects/esp ... et-esp-idf
So, interested to the AT commands, I found at the link:
https://github.com/espressif/esp-at
the project to use. After putting this project in %userprofile%\esp\esp-at, I tried to compile but I get this error:
Using Python in C:\ProgramData\Anaconda2\
Python 2.7.14 :: Anaconda, Inc.
Using Git in C:\Program Files\Git\cmd\
git version 2.23.0.windows.1
Setting IDF_PATH: C:\esp-idf
Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool cmake found in PATH: 3.16.0.
C:\Users\daurb\.espressif\tools\xtensa-esp32-elf\1.22.0-80-g6c4433a5-5.2.0\xtensa-esp32-elf\bin
C:\Users\daurb\.espressif\tools\esp32ulp-elf\2.28.51.20170517\esp32ulp-elf-binutils\bin
C:\Users\daurb\.espressif\tools\cmake\3.13.4\bin
C:\Users\daurb\.espressif\tools\openocd-esp32\v0.10.0-esp32-20190313\openocd-esp32\bin
C:\Users\daurb\.espressif\tools\mconf\v4.6.0.0-idf-20190628\
C:\Users\daurb\.espressif\tools\ninja\1.9.0\
C:\Users\daurb\.espressif\tools\idf-exe\1.0.1\
C:\Users\daurb\.espressif\tools\ccache\3.7\
C:\Users\daurb\.espressif\python_env\idf3.3_py2.7_env\Scripts
C:\esp-idf\tools
Checking if Python packages are up to date...
Python requirements from C:\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:\esp-idf>cd %userprofile%\esp
C:\Users\daurb\esp>cd esp-at
C:\Users\daurb\esp\esp-at>idf.py menuconfig
Checking Python dependencies...
Python requirements from C:\esp-idf\requirements.txt are satisfied.
Running cmake in directory C:\Users\daurb\esp\esp-at\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized C:\Users\daurb\esp\esp-at"...
Warn about uninitialized values.
CMake Error at CMakeLists.txt:51 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at CMakeLists.txt:56 (string):
string sub-command REPLACE requires at least four arguments.
CMake Error at CMakeLists.txt:61 (string):
string sub-command REPLACE requires at least four arguments.
CMake Warning (dev) at CMakeLists.txt:64 (execute_process):
uninitialized variable 'esp_at_idf_branch'
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:64 (execute_process):
uninitialized variable 'esp_at_idf_repository'
This warning is for project developers. Use -Wno-dev to suppress it.
fatal: You must specify a repository to clone.
usage: git clone [<options>] [--] <repo> [<dir>]
-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive ... alias of --recurse-submodules
--recurse-submodules[=<pathspec>]
initialize submodules in the clone
-j, --jobs <n> number of submodules cloned in parallel
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
--reference-if-able <repo>
reference repository
--dissociate use --reference only while cloning
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--shallow-since <time>
create a shallow clone since a specific time
--shallow-exclude <revision>
deepen history of shallow clone, excluding rev
--single-branch clone only one branch, HEAD or --branch
--no-tags don't clone any tags, and make later fetches not to follow them
--shallow-submodules any cloned submodules will be shallow
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
--server-option <server-specific>
option to transmit
-4, --ipv4 use IPv4 addresses only
-6, --ipv6 use IPv6 addresses only
--filter <args> object filtering
--remote-submodules any cloned submodules will use their remote-tracking branch
CMake Warning (dev) at CMakeLists.txt:72 (if):
uninitialized variable 'esp_at_idf_commit'
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:72 (if):
if given arguments:
"NOT" "575e00b1f16d00845bc727d016ba835ef092c996" "EQUAL"
Unknown arguments specified
-- Configuring incomplete, errors occurred!
cmake failed with exit code 1
Please could anyone suggest me ho to solve the problem ?
Regards
esp-at compiling problems
Re: esp-at compiling problems
Same problem
-
- Posts: 25
- Joined: Fri Aug 31, 2018 7:34 am
Re: esp-at compiling problems
Please compile the project referring to https://github.com/espressif/esp-at/blo ... Started.md. And it needs a esp-idf project with git information.
Please DO NOT set IDF_PATH, it will clone esp-idf automatically when compiling.
Same as https://esp32.com/viewtopic.php?f=13&p=58120#p58120
Please DO NOT set IDF_PATH, it will clone esp-idf automatically when compiling.
Same as https://esp32.com/viewtopic.php?f=13&p=58120#p58120
Who is online
Users browsing this forum: Bing [Bot] and 82 guests