Can't build esp-at project (classic bluetooth needed)

mirco.franchetti
Posts: 1
Joined: Fri Jul 16, 2021 6:15 am

Can't build esp-at project (classic bluetooth needed)

Postby mirco.franchetti » Fri Jul 16, 2021 6:43 am

Hello!
We want to enable Classic BT on WROOM-32D, so I tried to follow this simple guide: https://docs.espressif.com/projects/esp ... le_it.html

I'm stuck at "Configure", point 4.

I already tried what suggested in this link
https://www.esp32.com/viewtopic.php?t=9576#
and i already downloaded the Ubuntu iso with the toolchain but i have a GIT error when i call menuconfig.
I retried this morning and this is what happened in the CMD window:

Code: Select all

Microsoft Windows [Versione 10.0.19042.1083]
(c) Microsoft Corporation. Tutti i diritti sono riservati.

C:\Users\mircofranchetti>cd esp

C:\Users\mircofranchetti\esp>git clone --recursive https://github.com/espressif/esp-at.git
Cloning into 'esp-at'...
remote: Enumerating objects: 10148, done.
remote: Counting objects: 100% (1922/1922), done.
remote: Compressing objects: 100% (970/970), done.
remote: Total 10148 (delta 1314), reused 1489 (delta 935), pack-reused 8226
Receiving objects: 100% (10148/10148), 101.97 MiB | 3.39 MiB/s, done.
Resolving deltas: 100% (5961/5961), done.

C:\Users\mircofranchetti\esp>cd esp-at

C:\Users\mircofranchetti\esp\esp-at>build.py menuconfig
Platform name:
1. PLATFORM_ESP32
2. PLATFORM_ESP32C3
choose(range[1,2]):1

Module name:
1. WROOM-32
2. WROVER-32
3. PICO-D4
4. SOLO-1
5. MINI-1 (description: ESP32-U4WDH chip inside)
6. ESP32-D2WD (description: 2MB flash, No OTA)
7. ESP32_QCLOUD (description: QCLOUD TX:17 RX:16)
choose(range[1,7]):1

Enable silence mode to remove some logs and reduce the firmware size?
0. No
1. Yes
choose(range[0,1]):0
platform_name=ESP32,module_name=WROOM-32
Please wait for the SDK download to finish...
Cloning into 'esp-idf'...
remote: Enumerating objects: 250881, done.
remote: Total 250881 (delta 0), reused 0 (delta 0), pack-reused 250881 eceiving objects: 100% (250881/250881), 138.36 MiB | 2.23 MiB/s
Receiving objects: 100% (250881/250881), 139.08 MiB | 2.23 MiB/s, done.
Resolving deltas: 100% (185757/185757), done.
Updating files: 100% (6703/6703), done.
old commit:1e3638390964c86b0e7ef3af02973b30c58ea1be
checkout commit:efa6eca8b8148091f483f86d0c0fcfb855896dac
Please wait for the update to complete, which will take some time
Already up to date.
fatal: reference is not a tree: efa6eca8b8148091f483f86d0c0fcfb855896dac
git checkout failed

C:\Users\mircofranchetti\esp\esp-at>
When i call install.bat in esp-at\esp-idf directory, the installation process stops at gevent (when building the wheel) saying 'stddef.h' is missing. The guide seem to describe an out-of-the-box experience that I'm not finding :lol:

I cannot skip those passages: what am i doing wrong? I already built and flashed other esp-idf examples.

Theraptus
Posts: 2
Joined: Sat Jul 17, 2021 2:56 pm

Re: Can't build esp-at project (classic bluetooth needed)

Postby Theraptus » Sat Jul 17, 2021 3:00 pm

SImila problem to me:
Need classic BT, I change the default, then... Hot to proceed?
I compiled the standard "hello_word" but the AT commands doesn't work anymore. ALso the "ready" message to the serial port doesn't work anymore.
Where I wornk?

Mirko, I'm Italian too, possiamo contattarci?

marcopazzi
Posts: 1
Joined: Fri Jul 23, 2021 8:03 am

Re: Can't build esp-at project (classic bluetooth needed)

Postby marcopazzi » Fri Jul 23, 2021 9:13 am

mirco.franchetti wrote:
Fri Jul 16, 2021 6:43 am
Hello!
We want to enable Classic BT on WROOM-32D, so I tried to follow this simple guide: https://docs.espressif.com/projects/esp ... le_it.html

I'm stuck at "Configure", point 4.

I already tried what suggested in this link
https://www.esp32.com/viewtopic.php?t=9576#
and i already downloaded the Ubuntu iso with the toolchain but i have a GIT error when i call menuconfig.
I retried this morning and this is what happened in the CMD window:

Code: Select all

Microsoft Windows [Versione 10.0.19042.1083]
(c) Microsoft Corporation. Tutti i diritti sono riservati.

C:\Users\mircofranchetti>cd esp

C:\Users\mircofranchetti\esp>git clone --recursive https://github.com/espressif/esp-at.git
Cloning into 'esp-at'...
remote: Enumerating objects: 10148, done.
remote: Counting objects: 100% (1922/1922), done.
remote: Compressing objects: 100% (970/970), done.
remote: Total 10148 (delta 1314), reused 1489 (delta 935), pack-reused 8226
Receiving objects: 100% (10148/10148), 101.97 MiB | 3.39 MiB/s, done.
Resolving deltas: 100% (5961/5961), done.

C:\Users\mircofranchetti\esp>cd esp-at

C:\Users\mircofranchetti\esp\esp-at>build.py menuconfig
Platform name:
1. PLATFORM_ESP32
2. PLATFORM_ESP32C3
choose(range[1,2]):1

Module name:
1. WROOM-32
2. WROVER-32
3. PICO-D4
4. SOLO-1
5. MINI-1 (description: ESP32-U4WDH chip inside)
6. ESP32-D2WD (description: 2MB flash, No OTA)
7. ESP32_QCLOUD (description: QCLOUD TX:17 RX:16)
choose(range[1,7]):1

Enable silence mode to remove some logs and reduce the firmware size?
0. No
1. Yes
choose(range[0,1]):0
platform_name=ESP32,module_name=WROOM-32
Please wait for the SDK download to finish...
Cloning into 'esp-idf'...
remote: Enumerating objects: 250881, done.
remote: Total 250881 (delta 0), reused 0 (delta 0), pack-reused 250881 eceiving objects: 100% (250881/250881), 138.36 MiB | 2.23 MiB/s
Receiving objects: 100% (250881/250881), 139.08 MiB | 2.23 MiB/s, done.
Resolving deltas: 100% (185757/185757), done.
Updating files: 100% (6703/6703), done.
old commit:1e3638390964c86b0e7ef3af02973b30c58ea1be
checkout commit:efa6eca8b8148091f483f86d0c0fcfb855896dac
Please wait for the update to complete, which will take some time
Already up to date.
fatal: reference is not a tree: efa6eca8b8148091f483f86d0c0fcfb855896dac
git checkout failed

C:\Users\mircofranchetti\esp\esp-at>
When i call install.bat in esp-at\esp-idf directory, the installation process stops at gevent (when building the wheel) saying 'stddef.h' is missing. The guide seem to describe an out-of-the-box experience that I'm not finding :lol:

I cannot skip those passages: what am i doing wrong? I already built and flashed other esp-idf examples.
Hi Mirco,
I'm new and I started to use ESP32-C3-mini but I'm not able to use AT command , do you have any suggestion ?

Thanks
Marco

ESP_Alson
Posts: 106
Joined: Mon Mar 22, 2021 3:37 am

Re: Can't build esp-at project (classic bluetooth needed)

Postby ESP_Alson » Tue Sep 07, 2021 1:08 pm

The problem seems to be caused by the version mismatch of ESP-IDF.

You can clone the release/v2.2.0.0_esp32 branch from GitHub,and then recompile the ESP-AT project.

Who is online

Users browsing this forum: No registered users and 17 guests