esp-at icon indicating copy to clipboard operation
esp-at copied to clipboard

build.py is not building project

Open Piruthivi opened this issue 4 years ago • 8 comments

I have downloaded esp-at master. I already use esp-idf, which have paths defined in system variables. Now am trying to build esp-at project by using build.py in windows command prompt, but it shows following error

**platform_name=ESP32,module_name=WROVER-32 old commit:5c0719aab633b69f1396230a1aa4c66987df1327

checkout commit:e7ac221b42517df8196c8b88cc9ac8dfb63db0f6 Please wait for the update to complete, which will take some time fatal: reference is not a tree: e7ac221b42517df8196c8b88cc9ac8dfb63db0f6 M build.py Your branch is up to date with 'origin/master'. Update completed 'export' is not recognized as an internal or external command, operable program or batch file. 'cp' is not recognized as an internal or external command, operable program or batch file.**

i am not sure how to pass this error. need some help

Piruthivi avatar Sep 18 '20 15:09 Piruthivi

do you have any luck with this issue? I am also facing same problem

work4embedded avatar Oct 02 '20 09:10 work4embedded

Please follow the guide: https://docs.espressif.com/projects/esp-at/en/latest/Compile_and_Develop/How_to_clone_project_and_compile_it.html#

ustccw avatar Oct 09 '20 03:10 ustccw

Windows OS?

xcguang avatar Oct 12 '20 02:10 xcguang

yes i am using Windows 10 OS

Piruthivi avatar Oct 12 '20 05:10 Piruthivi

Please compile it on linux or the Windows Subsystem for Linux (WSL).

xcguang avatar Oct 12 '20 06:10 xcguang

but it was working really fine in windows before without any error or flaw

Piruthivi avatar Oct 12 '20 07:10 Piruthivi

Hi, I am with the same issue on Linux.

I was using a old version of esp at firmware. I've removed the old folder with rm -r /esp-at and cloned it again.

after that when I type ./build.py menuconfig I choose the module ESP32(1), module type WROOM-32(1) and silence mode off (0).

The error occur when it is cloning 'esp-idf'

Maybe someone forgot to push his commit?

Can someone help me with this?

Captura de tela 2021-07-15 123219

felipepsilv avatar Jul 15 '21 17:07 felipepsilv

@Piruthivi @felipepsilv @work4embedded esp-at v2.4 and master branch simplfied the compile workflow. just run python build.py install and python build.py build to build the esp-at project, could you please have a try?
see this doc for more details: https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_clone_project_and_compile_it.html

ustccw avatar May 27 '22 09:05 ustccw