Hello,
I fixed the problem with "sed" commands in CMakeLists.txt in esp-at. Next error occured at components/customized_partitions/CMakeLists.txt:
CMake Error at components/customized_partitions/CMakeLists.txt:20 (esptool_py_flash_project_args):
Unknown CMake command "esptool_py_flash_project_args".
How to fix it ?
Thank you,
Honzik
Building ESP AT
Re: Building ESP AT
Hello, I have installed stable version of esp-idf (v4.0) where esptool_py_flash_project_args function is included. Last error during building remains (see below).
[1077/1078] Running utility command for customized_bin
FAILED: esp-idf/customized_partitions/CMakeFiles/customized_bin.util
cmd.exe /C "cd /D C:\Users\dell\esp\esp-at\build\esp-idf\customized_partitions && mkdir -p C:/Users/dell/esp/esp-at/build/include && cp C:/Users/dell/esp/esp-at/build/config/sdkconfig.h C:/Users/dell/esp/esp-at/build/include/sdkconfig.h && C:\Users\dell\.espressif\python_env\idf4.0_py2.7_env\Scripts\python.exe C:/Users/dell/esp/esp-at/components/customized_partitions/raw_data/at_customized_partition_gen.py --tools_dir C:/Users/dell/esp/esp-at/components/customized_partitions/generation_tools --output_dir C:/Users/dell/esp/esp-at/build/customized_partitions --flash_args_file C:/Users/dell/esp/esp-at/build/flash_customized_partition_args"
The syntax of the command is incorrect.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
My configuration:
esp-idf: v4.0
Python 2.7.17
git version 2.21.0.windows.1
esp-at: v2.0.0.0_esp32-161-gbd8039b
Please help me, I'm, trying to build esp-at for couple of days without success.
Thank you,
Honzik
[1077/1078] Running utility command for customized_bin
FAILED: esp-idf/customized_partitions/CMakeFiles/customized_bin.util
cmd.exe /C "cd /D C:\Users\dell\esp\esp-at\build\esp-idf\customized_partitions && mkdir -p C:/Users/dell/esp/esp-at/build/include && cp C:/Users/dell/esp/esp-at/build/config/sdkconfig.h C:/Users/dell/esp/esp-at/build/include/sdkconfig.h && C:\Users\dell\.espressif\python_env\idf4.0_py2.7_env\Scripts\python.exe C:/Users/dell/esp/esp-at/components/customized_partitions/raw_data/at_customized_partition_gen.py --tools_dir C:/Users/dell/esp/esp-at/components/customized_partitions/generation_tools --output_dir C:/Users/dell/esp/esp-at/build/customized_partitions --flash_args_file C:/Users/dell/esp/esp-at/build/flash_customized_partition_args"
The syntax of the command is incorrect.
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
My configuration:
esp-idf: v4.0
Python 2.7.17
git version 2.21.0.windows.1
esp-at: v2.0.0.0_esp32-161-gbd8039b
Please help me, I'm, trying to build esp-at for couple of days without success.
Thank you,
Honzik
Re: Building ESP AT
Hi,
there is probably some problem with point 3. in esp-at Get Started:
3. Set the latest default configuration by make defconfig.
There is no command "make defconfig" in windows 10. I also tried "idf.py defconfig" equivalent without success:
Error: No such command 'defconfig'
Next problem is that "sed" command doesn´t work in CMakeLists.txt. After bypassing this problem, next problems arrives during building. For example the command cmd.exe mkdir -p C:/Users/dell/esp/esp-at/build/include doesn't work on windows 10...
Maybe there is not possible to make on windows. I will try to build on Linux. I was confused as the new user of esp-idf, because the esp-idf itself works on windows 10.
Honzik
there is probably some problem with point 3. in esp-at Get Started:
3. Set the latest default configuration by make defconfig.
There is no command "make defconfig" in windows 10. I also tried "idf.py defconfig" equivalent without success:
Error: No such command 'defconfig'
Next problem is that "sed" command doesn´t work in CMakeLists.txt. After bypassing this problem, next problems arrives during building. For example the command cmd.exe mkdir -p C:/Users/dell/esp/esp-at/build/include doesn't work on windows 10...
Maybe there is not possible to make on windows. I will try to build on Linux. I was confused as the new user of esp-idf, because the esp-idf itself works on windows 10.
Honzik
Who is online
Users browsing this forum: Google [Bot], msfujino and 76 guests