About esp- at build by ESP-IDF

testman
Posts: 3
Joined: Wed Mar 03, 2021 1:00 am

About esp- at build by ESP-IDF

Postby testman » Mon Mar 22, 2021 12:20 am

Hello, All!

If you have any advice, please tell me.

I want to build aps-at to ESP32-DevKitC using ESP-IDF.

esp-at:
https://github.com/espressif/esp-at

Referenced method :
https://github.com/espressif/esp-at/blo ... 2-platform

When I perform ">build.py flash" in step 4, I get the following error:
Part of PATH is replaced with "xxxxx".
--------------------------------------------------------------------------------------

cmd.exe /C "cd /D xxxxx\esp-idf\co...6/Desktop/esp-idf/components/esptool_py/run_esptool.cmake"
usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--encrypt]
[--ignore-flash-encryption-efuse-setting]
[--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'customized_partitions/server_cert.bin'
esptool.py --chip esp32 -p COM14 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x8000 partition_table/partition-table.bin 0x10000 ota_data_initial.bin 0xf000 phy_init_data.bin 0x1000 bootloader/bootloader.bin 0x100000 esp-at.bin 0x20000 at_customize.bin 0x24000 customized_partitions/server_cert.bin 0x26000 customized_partitions/server_key.bin 0x28000 customized_partitions/server_ca.bin 0x2a000 customized_partitions/client_cert.bin 0x2c000 customized_partitions/client_key.bin 0x2e000 customized_partitions/client_ca.bin 0x37000 customized_partitions/mqtt_cert.bin 0x39000 customized_partitions/mqtt_key.bin 0x3B000 customized_partitions/mqtt_ca.bin 0x30000 customized_partitions/factory_param.bin
CMake Error at run_cmd.cmake:14 (message):
esptool.py failed
Call Stack (most recent call first):
run_esptool.cmake:21 (include)


FAILED: CMakeFiles/flash
cmd.exe /C "cd /D xxxxx\esp-idf\components\esptool_py && xxxxx\.espressif\tools\cmake\3.16.4\bin\cmake.exe -D IDF_PATH="xxxxx/esp-idf" -D ESPTOOLPY="xxxxx\.espressif\python_env\idf4.2_py3.8_env\Scripts\python.exe xxxxx/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32" -D ESPTOOL_ARGS="--before=default_reset --after=hard_reset write_flash @flash_args" -D WORKING_DIRECTORY="xxxxx/esp-idf/esp-at/build" -P xxxxx/Desktop/esp-idf/components/esptool_py/run_esptool.cmake"
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
idf.py build ret: 2
idf.py build failed
--------------------------------------------------------------------------------------

Now, I don't use it, so I have disabled the Bluetooth function.

Please let me know if you have any advice.
Sorry for the poor English.

Thank you.

Who is online

Users browsing this forum: No registered users and 55 guests